| 数据搜索系统,热门电子元器件搜索 |
|
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 |
|
链接网址 |
| 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 |