Ruud Baltissen wrote: > > This also means that a RTI causes the CPU to return to the address > represented by the dots in the first line after the BRK ($xx) > instruction. > Correct? Right. The RTI instruction expects the _real_ ADDRESS of the address to return to on the stack, _not_ ADDRESS-1 as RTS expects. As BRK pushes the address of the BRK opcode+2, one could argue that BRK is two bytes. When pulling the status register yourself then BRK is even three bytes (using RTS) Andre -- Email address may be invalid. Use "fachat AT physik DOT tu-chemnitz DOT de" ------Fight SPAM - join CAUCE http://www.cauce.org------Thanks, spammers... Andre Fachat, Institute of physics, Technische Universitšt Chemnitz, FRG http://www.tu-chemnitz.de/~fachat - This message was sent through the cbm-hackers mailing list. To unsubscribe: echo unsubscribe | mail email@example.com.
Archive generated by hypermail 2.1.1.