| 数据搜索系统,热门电子元器件搜索 |
|
PM0044 数据表(PDF) 44 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 数据表(HTML) 44 Page - STMicroelectronics |
|
44 / 162 page ![]() STM8 addressing modes PM0044 44/162 Doc ID 13590 Rev 3 6.4.5 Extended Indexed (only LDF instruction) The offset is an extended word, thus allowing 16Mbyte addressing space (from 000000 to FFFFFF), but requires 3 bytes after the op-code. Example: Figure 15. Far Indexed - 16-bit offset - addressing mode example 0690 AE02 LD X,#2 0692 AF010780 LDF A,(table,X) 010780 BF table dc.b $BF 86 dc.b $86 DDFE dc.w $DDFE Action: X = 2, A = (table, X) = ($010780,X) = ($010780+2)) = ($010782) = $DD 0692 02 PC X Steps to determine Effective Address PC = 0692 PC = PC + 1 = 0693 EA= (PC):(PC+1):(PC+2)+X Before Completion Instruction Complete A = (EA) = DD New PC = PC+3 = 0696 After Completion 010782 Previous Value A X 02 0696 A DD AF 01 07 86 Adder EA table . byte BF BF = 010780+02 = 010782 AF 01 07 86 DD table . byte BF BF FE New PC LDF A, (table, X) LD A, (table, X) 0693 0694 010780 010781 0694 010780 010781 0693 0695 0692 0692 VR02059R 80 DD FE 010783 010782 0695 80 010782 010783 0696 010780 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 |