MC68HC711G5 MOTOROLA [Motorola, Inc], MC68HC711G5 Datasheet - Page 160

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
12.3.2 Stack and Index Register Instructions
The following table summarizes the instructions available for the 16-bit index registers (X and Y)
and the 16-bit stack pointer.
The exchange D with X (XGDX) and exchange D with Y (XGDY) instructions provide a simple way
of getting a pointer value from a 16-bit index register to the D accumulator which has more powerful
16-bit arithmetic capabilities than the 16-bit index registers. Since these are bidirectional exchanges,
MOTOROLA
12-10
Add Accumulator B to X
Add Accumulator B to Y
Compare X to Memory (16 Bit)
Compare Y to Memory (16 Bit)
Decrement Stack Pointer
Decrement Index Register X
Decrement Index Register Y
Increment Stack Pointer
Increment Index Register X
Increment Index Register Y
Load Index Register X
Load Index Register Y
Load Stack Pointer
Pull X from Stack
Pull Y from Stack
Push X onto Stack
Push Y onto Stack
Store Index Register X
Store Index Register Y
Store Stack Pointer
Transfer SP to X
Transfer SP to Y
Transfer X to SP
Transfer Y to SP
Exchange D with X
Exchange D with Y
Function
Table 12-7. Stack And Index Register Instructions
CPU, ADDRESSING MODES AND INSTRUCTION SET
Mnemonic
PSHX
PSHY
XGDX
XGDY
PULX
PULY
ABX
ABY
CPX
CPY
DES
DEX
DEY
LDX
LDY
LDS
STX
STY
STS
TSX
TSY
TXS
TYS
INS
INX
INY
IMM
X
X
X
X
X
X
X
X
DIR
X
X
X
X
X
X
X
X
EXT
X
X
X
X
X
X
X
X
INDX
X
X
X
X
X
X
X
X
INDY
X
X
X
X
X
X
X
X
MC68HC11G5
INH
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X

Related parts for MC68HC711G5