rtstofer wrote: >--- In lpc2000@yahoogroups.com, "Guillermo Prandi" ><yahoo.messenger@m...> wrote: > > >>I wonder... what does this instruction aim for?: >> >>asm volatile ( "LDR LR, [LR, #+60]" ); >> >>What is LR+60 pointing to? Why 60? Why not 56 or 64? >> >>Guille >> >>PS: Oh my God! I think I've been bumping my head against the desk >> >> >all > > >>day for the same exact problem! >> >> >> > >When I see that kind of code it makes me think of an execution stack >frame. Find the way back to the previous frame by using an offset >to the current frame. > >Not that I am sure that is what is happening but that is what I have >seen done before where there are frames, notably in Pascal where >everything is linked. > > > > You're correct, it is the Link Register (stack). TomW > > > > > > >Yahoo! Groups Links > > > > > > > > -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: [lpc2000] Re: FREERTOS problem on gcc and LPC2138
2005-10-22 by Tom Walsh
Attachments
- No local attachments were found for this message.