Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Assembly Code

Assembly Code

2006-05-10 by ‚³‚³‚«‚悵‚¦‚³‚ñ‚̃X

Hi All,

What does LDR R3, [R11, #-0x0010] means??
Does it means copy memory[R11-0x0010] to R3?

Plse..plse..teach me.

Thank you.

Octavius

Re: [lpc2000] Assembly Code

2006-05-10 by 42Bastian Schick

> What does LDR R3, [R11, #-0x0010] means??
> Does it means copy memory[R11-0x0010] to R3?

Yes.

> Plse..plse..teach me.

Just single step the code will show you ...

-- 
42Bastian

Re: Assembly Code

2006-05-10 by fordp2002

Just a guess now but does it mean

LDR = Load Register
R3 means R3
[] is inderection
- is negatibe
and 0x0010 is 16 or 4 words

So i would think it means :-

Load Register R3 with the contents of the memory location pointed too
by register R11 minus 16.

Do I get a star ;) or am I totally wrong.


--- In lpc2000@yahoogroups.com, 42Bastian Schick <bastian42@...> wrote:
Show quoted textHide quoted text
>
> > What does LDR R3, [R11, #-0x0010] means??
> > Does it means copy memory[R11-0x0010] to R3?
> 
> Yes.
> 
> > Plse..plse..teach me.
> 
> Just single step the code will show you ...
> 
> -- 
> 42Bastian
>

Re: Assembly Code

2006-05-10 by ‚³‚³‚«‚悵‚¦‚³‚ñ‚̃X

Hi All,

Thanks for the response.

Initially, I got confuse..because of LDR PC, [PC, #-0x0FF0].

Indeed.. single step the code is useful.

Octavius
 
> --- In lpc2000@yahoogroups.com, 42Bastian Schick <bastian42@> 
wrote:
Show quoted textHide quoted text
> >
> > > What does LDR R3, [R11, #-0x0010] means??
> > > Does it means copy memory[R11-0x0010] to R3?
> > 
> > Yes.
> > 
> > > Plse..plse..teach me.
> > 
> > Just single step the code will show you ...
> > 
> > -- 
> > 42Bastian
> >
>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.