| Electronic Components Datasheet Search |
|
HCS12 Datasheet(PDF) 66 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
HCS12 Datasheet(HTML) 66 Page - Freescale Semiconductor, Inc |
|
66 / 452 page ![]() S12CPUV2 Reference Manual, Rev. 4.0 66 Freescale Semiconductor 5.14 Shift and Rotate Instructions There are shifts and rotates for all accumulators and for memory bytes. All pass the shifted-out bit through the C status bit to facilitate multiple-byte operations. Because logical and arithmetic left shifts are identical, there are no separate logical left shift operations. Logic shift left (LSL) mnemonics are assembled as arithmetic shift left memory (ASL) operations. Table 5-12 shows shift and rotate instructions. Table 5-12. Shift and Rotate Instructions Mnemonic Function Operation Logical Shifts LSL LSLA LSLB Logic shift left memory Logic shift left A Logic shift left B LSLD Logic shift left D LSR LSRA LSRB Logic shift right memory Logic shift right A Logic shift right B LSRD Logic shift right D Arithmetic Shifts ASL ASLA ASLB Arithmetic shift left memory Arithmetic shift left A Arithmetic shift left B ASLD Arithmetic shift left D ASR ASRA ASRB Arithmetic shift right memory Arithmetic shift right A Arithmetic shift right B Rotates ROL ROLA ROLB Rotate left memory through carry Rotate left A through carry Rotate left B through carry ROR RORA RORB Rotate right memory through carry Rotate right A through carry Rotate right B through carry C 0 b7 b0 C 0 b7 b0 A B b7 b0 C 0 b7 b0 C 0 b7 b0 A B b7 b0 C 0 b7 b0 C 0 b7 b0 A B b7 b0 C b7 b0 C b7 b0 C b7 b0 |
|
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 |