![background image](http://html.mh-extra.com/html/hyundai/gms800/gms800_instruction-manual_2196205066.webp)
HYUNDAI MicroElectonics
62
TYA
( Transfer Y-register into accumulator )
Function
: A
Y
Description : Transfer Y-register to the accumulator.
Flag
:
Mnemonic
OP Code
Bytes
Cycles
TYA
BF
1
2
Example
:
508 C1B2 3E64
LDY
#100
509 C1B4 BE
LOOP2:
DEC
Y
510 C1B5 70FD
BNE
LOOP2
511 C1B7 BF
TYA
XAX
( Exchange accumulator with X-register)
Function
: X
A
Description : Exchange the accumulator with the X-register.
Flag
:
Mnemonic
OP Code
Bytes
Cycles
XAX
EE
1
4
Example
:
517 C1B8 C4AA
LDA
#0AAH
518 C1BA 1EFF
LDX
#0FFH
519 C1BC EE
XAX
XAY
( Exchange accumulator with Y-register )
Function
: Y
A
Description : Exchange the accumulator with the Y-register.
Flag
:
Mnemonic
OP Code
Bytes
Cycles
XAY
DE
1
4
Example
:
525 C1BD C4DD
LDA
#0DDH
526 C1BF 3ECC
LDY
#0CCH
527 C1C1 DE
XAY