Re: A86: interrupts


[Prev][Next][Index][Thread]

Re: A86: interrupts




>i see no reason for pushing & poping - there's nothing to be saved if
>you disassemble the int handler. if you're using the built-in int
>support then you CAN skip the calc's interrupt - at the end, do the
>following:
>
>pop hl
>exx
>ex af,af'
>reti


I am trying to follow this discussion could someone elaborate on this? What
is the difference between the built-in int and the calc's interrupt? Doing
those four opcodes at the end would accomplish what, maybe restore all the
registers before returning to the
calling program? How to heck was that stack saved again? This is weird.

-Matt



Follow-Ups: