Hyundai GMS800 Instruction Manual page 67

Gms800 series 8-bit single-chip microcomputers
Table of Contents

Advertisement

XCN
( Exchange nibbles within the accumulator )
Function
: A
~A
7
4
Description : Exchange the upper 4bit with the lower 4bit of the accumulator..

Flag
:
Mnemonic
XCN
Example
:
533 C1C2 C4F0
534 C1C4 CE
XMA
( Exchange memory with accumulator )
Function
: ( M )
Description : Exchange the accumulator with the contents of memory.

Flag
:
Mnemonic
XMA dp
XMA dp+X
XMA { X }
Example
:
539 C1C5 E4F008
540 C1C8 C40F
541 C1CA BC08
XYX
( Exchange Y-register with X-register )

Function
: X
Y
Description : Exchange the Y-Register with the X-Register.

Flag
:
Mnemonic
XYX
Example
:
546 C1CC 3EAA
547 C1CE 1E55
548 C1D0 FE
A
~A
3
0
OP Code
CE
LDA
XCN
A
OP Code
BC
AD
BB
LDM
LDA
XMA
OP Code
FE
LDY
LDX
XYX
Bytes
Cycles
1
5
#11110000B
Bytes
Cycles
2
5
2
6
1
5
TEMP,#11110000B
#00001111B
TEMP
Bytes
Cycles
1
4
#10101010B
#01010101B
Instruction Set
63

Advertisement

Table of Contents
loading

Table of Contents