| Electronic Components Datasheet Search |
|
HCS12 Datasheet(PDF) 81 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
HCS12 Datasheet(HTML) 81 Page - Freescale Semiconductor, Inc |
|
81 / 452 page ![]() S12CPUV2 Reference Manual, Rev. 4.0 Freescale Semiconductor 81 5.23 Index Manipulation Instructions The index manipulation instructions perform 8- and 16-bit operations on the three index registers and accumulators, other registers, or memory, as shown in Table 5-23. Table 5-23. Index Manipulation Instructions Mnemonic Function Operation Addition Instructions ABX Add B to X (B) + (X) ⇒ X ABY Add B to Y (B) + (Y) ⇒ Y Compare Instructions CPS Compare SP to memory (SP) – (M : M + 1) CPX Compare X to memory (X) – (M : M + 1) CPY Compare Y to memory (Y) – (M : M + 1) Load Instructions LDS Load SP from memory M : M+1 ⇒ SP LDX Load X from memory (M : M + 1) ⇒ X LDY Load Y from memory (M : M + 1) ⇒ Y LEAS Load effective address into SP Effective address ⇒ SP LEAX Load effective address into X Effective address ⇒ X LEAY Load effective address into Y Effective address ⇒ Y Store Instructions STS Store SP in memory (SP) ⇒ M:M+1 STX Store X in memory (X) ⇒ M : M + 1 STY Store Y in memory (Y) ⇒ M : M + 1 Transfer Instructions TFR Transfer register to register (A, B, CCR, D, X, Y, or SP) ⇒ A, B, CCR, D, X, Y, or SP 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) |
|
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 |