Motorola CPU32 Reference Manual page 215

Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

TST
Operation:
Assembler
Syntax:
Attributes:
Description:
ing to the results of the test.
Condition Codes:
X
N
Z
*
*
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.
Instruction Format:
15
14
13
0
1
0
Instruction Fields:
Size field — Specifies the size of the operation:
00 — Byte operation
01 — Word operation
10 — Long operation
CPU32
REFERENCE MANUAL
Test an Operand
Destination Tested → Condition Codes
TST 〈ea〉
Size = (Byte, Word, Long)
Compares the operand with zero and sets condition codes accord-
V
C
0
0
12
11
10
9
0
1
0
1
INSTRUCTION SET
8
7
6
5
0
SIZE
TST
4
3
2
1
EFFECTIVE ADDRESS
MODE
REGISTER
MOTOROLA
0
4-167

Advertisement

Table of Contents
loading

Table of Contents