| Electronic Components Datasheet Search |
|
HCS12 Datasheet(PDF) 58 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
HCS12 Datasheet(HTML) 58 Page - Freescale Semiconductor, Inc |
|
58 / 452 page ![]() S12CPUV2 Reference Manual, Rev. 4.0 58 Freescale Semiconductor Table 5-2 is a summary of transfer and exchange instructions. 5.5 Move Instructions Move instructions move (copy) data bytes or words from a source (M1 or M : M +11) to a destination (M2 or M : M +12) in memory. Six combinations of immediate, extended, and indexed addressing are allowed to specify source and destination addresses (IMM ⇒ EXT, IMM ⇒ IDX, EXT ⇒ EXT, EXT ⇒ IDX, IDX ⇒ EXT, IDX ⇒ IDX). Addressing mode combinations with immediate for the destination would not be useful. Table 5-3 shows byte and word move instructions. Table 5-2. Transfer and Exchange Instructions Mnemonic Function Operation Transfer Instructions TAB Transfer A to B (A) ⇒ B TAP Transfer A to CCR (A) ⇒ CCR TBA Transfer B to A (B) ⇒ A TFR Transfer register to register (A, B, CCR, D, X, Y, or SP) ⇒ A, B, CCR, D, X, Y, or SP TPA Transfer CCR to A (CCR) ⇒ A TSX Transfer SP to X (SP) ⇒ X TSY Transfer SP to Y (SP) ⇒ Y TXS Transfer X to SP (X) ⇒ SP TYS Transfer Y to SP (Y) ⇒ SP Exchange Instructions EXG Exchange register to register (A, B, CCR, D, X, Y, or SP) ⇔ (A, B, CCR, D, X, Y, or SP) XGDX Exchange D with X (D) ⇔ (X) XGDY Exchange D with Y (D) ⇔ (Y) Sign Extension Instruction SEX Sign extend 8-Bit operand Sign-extended (A, B, or CCR) ⇒ D, X, Y, or SP Table 5-3. Move Instructions Mnemonic Function Operation MOVB Move byte (8-bit) (M 1 ) ⇒ M 2 MOVW Move word (16-bit) (M : M + 1 1 ) ⇒ M : M + 12 |
|
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 |