| 전자부품 데이터시트 검색엔진 |
|
PM0044 데이터시트(PDF) 47 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 데이터시트(HTML) 47 Page - STMicroelectronics |
|
47 / 162 page ![]() PM0044 STM8 addressing modes Doc ID 13590 Rev 3 47/162 6.7 Long Pointer Indirect Long addressing mode The pointer address is a word, the pointer size is a word, thus allowing 64 KB addressing space, and requires 2 bytes after the op-code. Example: 1040 42E5 ptr dc.w var 1409 72C61040 LD A,[longptr.w] 42E5 11 var dc.b $11 Action: A = [longptr.w] = ((longptr.w)) = (($1040.w)) = ($42E5) = $11 Figure 17. Long Pointer Indirect Long addressing mode example Steps to determine Effective Address PC = 1409 PC = PC + 2 = 140B EA Before Completion Instruction complete New PC = PC + 2 = 140D After Completion =((PC):(PC+1)): A PC Previous Value 72 42 E5 C6 10 ptr .word var 1409 140A 140B 140C 1409 EA 42E5 42E5 11 72 42 E5 C6 10 ptr .word var 1409 140A 140B 140C 42E5 11 A 040D New PC 1040 1041 1040 1041 A = (EA) = 0x11 var.byte 0x011 var .byte 0x11 0x11 LD A, [longptr.w] LD A, [longptr.w] VR02059G 40 140D 40 140D ((PC):(PC+1)+1) = 42E5 |
|
링크 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 |