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 mode | No of cycles | No of bytes |
Implied: | 2 | 1 |
Direct: | 6 | 2 |
Extended: | 7 | 3 |
Index/Indirect: | 6+ | 2+ |