Hyundai GMS800 Instruction Manual page 65

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

Advertisement

TST
( Test memory )
: (dp) − − − − 00h
Function
Description : Tests whether contents of memory are "0" or negative. The contents of memory is unchanged.

Flag
:
Mnemonic
TST
Example
:
486 C1A4 E4FF35
487 C1A7 4C35
TXA
( Transfer X-register into accumulator )

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

Flag
:
Mnemonic
TXA
Example
:
493 C1A9 1E64
494 C1AB AF
495 C1AC 70FD
496 C1AE C8
497
TXSP
( Transfer X-register into stack pointer )

Function
: SP
Description : Transfer the X-register to the stack pointer.

Flag
:
Mnemonic
TXSP
Example
:
502 C1AF 1EFE
503 C1B1 8E
OP Code
dp
4C
LDM
TST
OP Code
C8
LDX
LOOP1:
DEC
BNE
TXA
X
OP Code
8E
LDX
TXSP
Bytes
Cycles
2
3
35H,#0FFH
35H
Bytes
Cycles
1
2
#100
X
LOOP1
Bytes
Cycles
1
2
#0FEH
Instruction Set
61

Advertisement

Table of Contents
loading

Table of Contents