TST

TST

Operation:
Destination Tested -->; Condition Codes

Assembler Syntax:
TST <ea>

Attributes: Size = (Byte, Word, Long)

Description: Compares the operand with zero and sets the con-
dition codes according to the results of the test. The size of
the operation is specified as byte, word, or long.

Condition Codes:

X Not affected.
N Set if the operand is negative. Cleared otherwise.
Z Set if the operand is zero. Cleared otherwise.
V Always cleared.
C Always cleared.

NOTE: TST can use ADDRESS REGISTER