| 数据搜索系统,热门电子元器件搜索 |
|
PM0044 数据表(PDF) 57 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 数据表(HTML) 57 Page - STMicroelectronics |
|
57 / 162 page ![]() PM0044 STM8 addressing modes Doc ID 13590 Rev 3 57/162 6.13 Bit Direct (Long) addressing mode The data byte required for the operation is found by its memory address, which follows the op-code. The bit used for the operation is selected by the bit selector which is encoded in the instruction op-code. The address is a word, thus allowing 0000 to FFFF addressing space, but requires 2 bytes after the op-code. The bit selector #n (n=0 to 7) selects the nth bit from the byte pointed to by the address. Example: Table 37. Overview of Bit Direct addressing mode instruction Addressing mode Syntax EA formula Ptr Adr Ptr Size Dest adr Bit Long Direct longmem, #pos (longmem) op + 1..2 Word 0000..FFFF Table 38. Available Bit Direct instructions Instructions Functions BRES Bit Reset BSET Bit Set BCPL Bit Complement BCCM Copy Carry Bit to Memory 0408 721006E5 BCPL coeff, #0 06E5 40 coeff dc.b $ 40 Action: (coeff) = ($06E5) XOR 2**0 = $40 XOR $01 = $41 |
|
链接网址 |
| 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 |