User manual Rev. 8 — 8 March 2012 474 of 536 NXP Semiconductors UM10398 28.5.4.4.1 Syntax LDR Rt, label where: Rt is the register to load. label is a PC-relative expression. See Section 28–28.5.3.5. 28.5.4.4.2 Operation Loads the register specified by Rt from the word in memory specified by label. 28.5.4.4.3 Restrictions In these instructions, label must be within 1020 bytes of the current PC and word aligned. 28.5.4.4.4 Condition flags These instructions do not change the flags. Chapter 28: LPC111x/LPC11Cxx Appendix: ARM Cortex-M0 reference 28.5.4.4.5 Examples LDR R0, LookUpTable ; Load R0 with a word of data from an address ; labelled as LookUpTable. LDR R3, [PC, #100] ; Load R3 with memory word at (PC + 100).
--------------------
Закон Мерфи:
Чем тщательнее составлен проект, тем больше неразбериха, если что-то пошло не так
|