| 数据搜索系统,热门电子元器件搜索 |
|
PM0044 数据表(PDF) 43 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 数据表(HTML) 43 Page - STMicroelectronics |
|
43 / 162 page ![]() PM0044 STM8 addressing modes Doc ID 13590 Rev 3 43/162 6.4.4 Long Indexed addressing mode The offset is a word, thus allowing up to 128 KB addressing space, but requires 2 bytes after the op-code. Example: Figure 14. Long Indexed - 16-bit offset - addressing mode example 0690 AE02 LD X,#2 0692 D6077E LD A,(table,X) 077E BF table dc.b $BF 86 dc.b $86 DBCF dc.w $DBCF Action: X = 2 A = (table, X) = ($077E, X) = ($077E, 2) = ($0780) = $DB 0692 02 PC X Steps to Determine Effective Address PC = 0692 PC = PC + 1 = 0693 EA = (PC):(PC+1) + X Before completion Instruction Complete A = (EA) = DB New PC = PC + 2 = 0695 After Completion 0780 Previous Value A X 02 0695 A DB D6 07 7E 86 DB Adder EA table . byte BF BF CF = 077E + 02 = 0780 D6 07 7E 86 DB table . byte BF BF CF New PC LD A, (table, X) LD A, (table, X) 0693 0694 077F 0780 0781 0694 077E 077F 0780 0781 0693 0695 0692 0692 077E VR02059E 077E 02 |
|
链接网址 |
| 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 |