Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->TST

TST   Test Accumulator or Memory Byte
TSTA
TSTB
TST

A - 00   or   B - 00   or   M - 00


Condition Code Register:

H  Not affected
N  Set if result Negative, else cleared
Z  Set if result Zero, else cleared
V  Always cleared
C  Not affected (NB 6800 clears C)

    
Addressing modeNo of cyclesNo of bytes
Implied:21
Direct:62
Extended:73
Index/Indirect:6+2+