As you know, when we try LDR and STR ,It will change address to fullword accesses, Can I change it to halfword?
- posted
18 years ago
As you know, when we try LDR and STR ,It will change address to fullword accesses, Can I change it to halfword?
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
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.