| 数据搜索系统,热门电子元器件搜索 |
|
PM0044 数据表(PDF) 46 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 数据表(HTML) 46 Page - STMicroelectronics |
|
46 / 162 page ![]() STM8 addressing modes PM0044 46/162 Doc ID 13590 Rev 3 6.6 Short Pointer Indirect Long addressing mode The pointer address is a byte, the pointer size is a word, thus allowing up to 128 KB addressing space, and requires 1 byte after the op-code. Example: Figure 16. Short Pointer Indirect Long addressing mode example 0040 42E5 ptr dc.w var 0409 92C640 LD A,[shortptr.w] 42E5 11 var dc.b $11 Action: A = [shortptr.w] = ((shortptr.w)) = (($40.w)) = ($42E5) = $11 Steps to determine Effective Address PC = 0409 PC = PC + 2 = 40B EA Before Completion Instruction Complete New PC = PC +1 = 040C After Completion = ((PC)) :((PC)+1) = 42E5 A PC Previous Value 92 42 E5 C6 40 ptr .word var 0409 040A 040B 040C 0409 EA 42E5 42E5 11 92 42 E5 C6 40 ptr .word var 0409 040A 040B 040C 42E5 11 A 040C New PC 0040 0041 0040 0041 A = (EA) = 0x11 var.byte 0x011 var .byte 0x011 0x11 LD A, [shortptr.w] LD A, [shortptr.w] |
|
链接网址 |
| 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 |