| Electronic Components Datasheet Search |
|
HCS12 Datasheet(PDF) 182 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
HCS12 Datasheet(HTML) 182 Page - Freescale Semiconductor, Inc |
|
182 / 452 page ![]() Instruction Glossary S12CPUV2 Reference Manual, Rev. 4.0 182 Freescale Semiconductor Operation: See table Description: Exchanges the contents of registers specified in the instruction as shown below. Note that the order in which exchanges between 8-bit and 16-bit registers are specified affects the high byte of the 16-bit registers differently. Exchanges of D with A or B are ambiguous. Cases involving TMP2 and TMP3 are reserved for Freescale use, so some assemblers may not permit their use, but it is possible to generate these cases by using DC.B or DC.W assembler directives. None affected, unless the CCR is the destination register. Condition codes take on the value of the corresponding source bits, except that the X mask bit cannot change from 0 to 1. Software can leave the X bit set, leave it cleared, or change it from 1 to 0, but it can be set only in response to any reset or by recognition of an XIRQ interrupt. EXG Exchange Register Contents EXG CCR Details: S X HIN Z V C Or: S X HIN Z V C –––––––– ∆⇓∆∆∆∆∆∆ Source Form Address Mode Object Code(1) 1. Legal coding for eb is summarized in the following table. Columns represent the high-order source digit. Rows represent the low-order destination digit (bit 3 is a don’t care). Values are in hexadecimal. Access Detail HCS12 M68HC12 EXG abcdxys,abcdxys INH B7 eb P P 89 A B C D E F 0 A ⇔ AB ⇔ A CCR ⇔ A TMP3L ⇒ A $00:A ⇒ TMP3 B ⇒ A A ⇒ B XL ⇒ A $00:A ⇒ X YL ⇒ A $00:A ⇒ Y SPL ⇒ A $00:A ⇒ SP 1 A ⇔ BB ⇔ B CCR ⇔ B TMP3L ⇒ B $FF:B ⇒ TMP3 B ⇒ B $FF ⇒ A XL ⇒ B $FF:B ⇒ X YL ⇒ B $FF:B ⇒ Y SPL ⇒ B $FF:B ⇒ SP 2 A ⇔ CCR B ⇔ CCR CCR ⇔ CCR TMP3L ⇒ CCR $FF:CCR ⇒ TMP3 B ⇒ CCR $FF:CCR ⇒ D XL ⇒ CCR $FF:CCR ⇒ X YL ⇒ CCR $FF:CCR ⇒ Y SPL ⇒ CCR $FF:CCR ⇒ SP 3 $00:A ⇒ TMP2 TMP2L ⇒ A $00:B ⇒ TMP2 TMP2L ⇒ B $00:CCR ⇒ TMP2 TMP2L ⇒ CCR TMP3 ⇔ TMP2 D ⇔ TMP2 X ⇔ TMP2 Y ⇔ TMP2 SP ⇔ TMP2 4 $00:A ⇒ D $00:B ⇒ D $00:CCR ⇒ D B ⇒ CCR TMP3 ⇔ DD ⇔ DX ⇔ DY ⇔ DSP ⇔ D 5 $00:A ⇒ X XL ⇒ A $00:B ⇒ X XL ⇒ B $00:CCR ⇒ X XL ⇒ CCR TMP3 ⇔ XD ⇔ XX ⇔ XY ⇔ XSP ⇔ X 6 $00:A ⇒ Y YL ⇒ A $00:B ⇒ Y YL ⇒ B $00:CCR ⇒ Y YL ⇒ CCR TMP3 ⇔ YD ⇔ YX ⇔ YY ⇔ YSP ⇔ Y 7 $00:A ⇒ SP SPL ⇒ A $00:B ⇒ SP SPL ⇒ B $00:CCR ⇒ SP SPL ⇒ CCR TMP3 ⇔ SP D ⇔ SP X ⇔ SP Y ⇔ SP SP ⇔ SP |
|
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 |