Subject: Re: old PC from interrupt handler?
To: None <magnus@MIT.EDU>
From: Allen Briggs <firstname.lastname@example.org>
Date: 04/13/1995 20:54:57
> Suppose I have an interrupt- how can I tell from inside the interrupt
> handler code what the PC was immediately before the interrupt
An argument to the interrupt handler is a frame pointer. The PC is
stored in there.
> (I want to set a VIA timer to see where the PC is inside the ROM
> routines at specific times. Will this work?)
Might--I dunno... Keep in mind that actually printing stuff out will
affect your timing... ;-)
Allen Briggs - end killing - email@example.com ** MacBSD == NetBSD/mac68k **