question about address boundaries

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
As you know, when we try LDR and STR ,It will change address to fullword
accesses, Can I change it to halfword?

Re: question about address boundaries
Quoted text here. Click to load it

Next time, please tell which processor.

I guess that the question is about ARM.

LDR and STR will work correctly on fullword boundaries only,
so the last two bits of the effective address have to be 00,
i.e. last hex digit 0, 4, 8, or c.


Tauno Voipio
tauno voipio (at) iki fi

Site Timeline