Hyundai GMS800 Instruction Manual page 60

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

Advertisement

HYUNDAI MicroElectonics
STX
( Store X-register )

Function
: ( M )
Description : Store the contents of X-register to memory.

Flag
:
Mnemonic
STX dp
STX dp + Y
STX !abs
Example
:
396 F1A2 8F
397 F1A3 EC29
398 F1A5 C67E
STY
( Store Y-register )

Function
: ( M )
Description : Store the contents of Y-register to memory.

Flag
:
Mnemonic
STY dp
STY dp + X
STY !abs
Example
:
401 F1A7 BE
402 F1A8 D5A2F1
403 F1AB E97E
404 F1AD 445A
56
X
OP Code
EC
ED
FC
INC
STX
LDA
Y
OP Code
E9
F9
F8
DEC
LDA
STY
CMP
Bytes
Cycles
2
4
2
5
3
5
X
POINTER
; STORE X REG. INTO POINTER
MODE+X
Bytes
Cycles
2
4
2
5
3
5
Y
!DATA_TBL+Y
; STORE Y REG. INTO 'MODE'
MODE
#5AH

Advertisement

Table of Contents
loading

Table of Contents