| Electronic Components Datasheet Search |
|
PM0044 Datasheet(PDF) 57 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 Datasheet(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 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |