Hyundai GMS800 Instruction Manual page 66

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

Advertisement

HYUNDAI MicroElectonics
TYA
( Transfer Y-register into accumulator )

Function
: A
Y
Description : Transfer Y-register to the accumulator.

Flag
:
Mnemonic
TYA
Example
:
508 C1B2 3E64
509 C1B4 BE
510 C1B5 70FD
511 C1B7 BF
XAX
( Exchange accumulator with X-register)

Function
: X
A
Description : Exchange the accumulator with the X-register.

Flag
:
Mnemonic
XAX
Example
:
517 C1B8 C4AA
518 C1BA 1EFF
519 C1BC EE
XAY
( Exchange accumulator with Y-register )

Function
: Y
A
Description : Exchange the accumulator with the Y-register.

Flag
:
Mnemonic
XAY
Example
:
525 C1BD C4DD
526 C1BF 3ECC
527 C1C1 DE
62
OP Code
BF
LDY
LOOP2:
DEC
BNE
TYA
OP Code
EE
LDA
LDX
XAX
OP Code
DE
LDA
LDY
XAY
Bytes
Cycles
1
2
#100
Y
LOOP2
Bytes
Cycles
1
4
#0AAH
#0FFH
Bytes
Cycles
1
4
#0DDH
#0CCH

Advertisement

Table of Contents
loading

Table of Contents