| 전자부품 데이터시트 검색엔진 |
|
PM0223 데이터시트(PDF) 46 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0223 데이터시트(HTML) 46 Page - STMicroelectronics |
|
46 / 110 page ![]() The STM32L0 Cortex-M0+ Instruction Set PM0223 46/110 DocID025763 Rev 1 3.4.1 ADR Generates a PC-relative address. Syntax ADR Rd, label where: Operation ADR generates an address by adding an immediate value to the PC, and writes the result to the destination register. ADR facilitates the generation of position-independent code, because the address is PC-relative. If you use ADR to generate a target address for a BX or BLX instruction, you must ensure that bit[0] of the address you generate is set to 1 for correct execution. Restrictions In this instruction Rd must specify R0-R7. The data-value addressed must be word aligned and within 1020 bytes of the current PC. Condition flags This instruction does not change the flags. Examples ADR R1, TextMessage ; Write address value of a location labelled as; TextMessage to R1 ADR R3, [PC,#996] ; Set R3 to value of PC + 996. Rd Is the destination register. label Is a PC-relative expression. See 3.3.5: PC-relative expressions on page 42. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |