Good input! -There are some flaws in my above 'example', which your snippet fixes.
Detecting a subroutine call could probably be done by an unsigned compare against 0xffffff00; if 'higher', then it's an interrupt, otherwise it's a subroutine call.
Good input! -There are some flaws in my above 'example', which your snippet fixes.
Detecting a subroutine call could probably be done by an unsigned compare against 0xffffff00; if 'higher', then it's an interrupt, otherwise it's a subroutine call.