| 数据搜索系统,热门电子元器件搜索 |
|
PM0044 数据表(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 数据表(HTML) 39 Page - STMicroelectronics |
|
39 / 162 page ![]() PM0044 STM8 addressing modes Doc ID 13590 Rev 3 39/162 6.4 Indexed addressing mode (No Offset, Short, SP, Long, Extended) The data byte required for operation is found by its memory address, which is defined by the unsigned addition of an index register (X or Y or SP) with an offset which follows the op- code. The indexed addressing mode is made of five sub-modes: Table 24. Overview Indexed addressing mode instructions Addressing mode Syntax EA formula Ptr Adr Ptr Size Dest adr No offset Direct Indexed (ndx) (ndx) --- --- 00..FFFF Short Direct Indexed (shortoff,ndx) (ptr + ndx) op + 1 Byte 00..100FE Stack Pointer Direct Indexed (shortoff,SP) (ptr + SP) op + 1 Byte 00..(FF+stacktop) Long Direct Indexed (longoff,ndx) (ptr.w + ndx) op + 1..2 Word 000000..01FFFE Extended Direct Indexed (extoff,ndx) (ptr.e + ndx) op + 1..3 Ext Word 000000..FFFFFF Table 25. No Offset, Long, Short and SP Indexed instructions Instructions Functions LD, LDW Load CLR Clear CP Compare AND, OR, XOR Logical Operations ADC, ADD, SUB, SBC, ADDW, SUBW Arithmetic Addition/Subtraction operations INC, DEC Increment/Decrement TNZ Test Negative or Zero CPL, NEG 1’s or 2’s Complement SLA, SLL, SRL, SRA, RLC, RRC Shift and Rotate Operations SWAP Swap Nibbles Table 26. No Offset, Long, Short Indexed Instructions Instructions Functions CALL, JP Call or Jump subroutine Table 27. Extended Indexed Instructions only Instructions Functions LDF Far Load |
|
链接网址 |
| 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 |