| 数据搜索系统,热门电子元器件搜索 |
|
PM0044 数据表(PDF) 55 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 数据表(HTML) 55 Page - STMicroelectronics |
|
55 / 162 page ![]() PM0044 STM8 addressing modes Doc ID 13590 Rev 3 55/162 6.12 Relative Direct addressing mode This addressing mode is used to modify the PC register value, by adding an 8-bit signed offset to it. The offset added to the PC register value is relative to the start of the next instruction. The offset follows the op-code. Example: 04A7 2717 jreq skip 04A9 9D nop 04AA 9D nop 04C0 20FE skip jra* ; Infinite loop Action: if (Z == 1)then PC = PC + $17 = $04A9 + $17 = $04C0 elsePC = PC= $04A9 Table 35. Overview of Relative Direct addressing mode instructions Addressing mode Syntax EA formula Ptr Adr Ptr Size Dest adr Direct Relative off PC = PC + off op + 1 --- PC +127/-128 Table 36. Available Relative Direct instructions Instructions Functions JRxx Conditional Jump JRA Jump Relative Always CALLR Call Relative |
|
链接网址 |
| 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 |