| 数据搜索系统,热门电子元器件搜索 |
|
PM0044 数据表(PDF) 41 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 数据表(HTML) 41 Page - STMicroelectronics |
|
41 / 162 page ![]() PM0044 STM8 addressing modes Doc ID 13590 Rev 3 41/162 6.4.2 Short Indexed addressing mode The offset is a byte, thus requires only one byte after the op-code, but only allows 00..1FE addressing space. Example: Figure 12. Short Indexed - 8-bit offset - addressing mode example 0089 11223344 table dc.l $11223344 0759 AE03 LD X,#3 075B E689 LD A,(table,X) Action: X = 3 A = (table, X) = ($89, X) = ($89, 3) = ($8C) = $44 Previous Value 03 A X Steps to determine Effective Address PC = 075B PC = PC + 1 = 075C EA = (PC) + X = 89 + 03 = 008C Before completion Instruction Complete A = (EA) = 44 New PC = PC + 1 = 075D After Completion 008C 075B PC A 44 X 03 New PC 075D 11 22 33 44 E6 89 E6 89 Adder EA 075B 075B 0089 008A 008B 008C 075C 075D 0089 008A 008B 008C 075C 075D LD A, (table,X) LD A, (table,X) VR02059D Table .long 11223344 Table .long 11223344 11 22 33 44 89 03 |
|
链接网址 |
| 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 |