HYUNDAI MicroElectonics
58
TAX
( Transfer accumulator into X-register )
Function
: X
A
Description : Transfer the accumulator into X-Register.
Flag
:
Mnemonic
OP Code
Bytes
Cycles
TAX
E8
1
2
Example
:
441 C17A C464
LDA
#100
442 C17C A8
LOOP0:
DEC
A
443 C17D 70FD
BNE
LOOP0
444 C17F E8
TAX
TAY
( Transfer accumulator into Y-register )
Function
: Y
A
Description : Transfer the accumulator to Y-register.
Flag
:
Mnemonic
OP Code
Bytes
Cycles
TAY
9F
1
2
Example
:
449 C180 C411
LDA
#11H
450 C182 3EAA
LDY
#0AAH
451 C184 E908
STY
TEMP
452 C186 9F
TAY
453 C187 C508
LDA
TEMP