--- In lpc2000@yahoogroups.com, "ndhegde" <ndhegde@...> wrote: > > Hello, > I am trying to understand installing exception handlers from C (Ref: > ARM developer guide, sec 5.3.2). > Could anyone please elaborate the step wherein "subtract 8 to allow > prefetching " is done? > > Thanks > Nikhil > When your instruction at address A is being processed, the next instruction at address A+4 is already fetched so the PC is pointing to A+8. So if your instruction involves PC manipulation you have to take in account of this.
Message
Re: Installing exception handlers from C
2006-04-19 by c.barbaro