Motorola DSP96002 User Manual page 498

32-bit digital signal processor
Table of Contents

Advertisement

TST
Operation:
S - 0
(parallel data bus move)
Description:
Compare the low portion of the specified operand with zero. No result is stored, however the condition
codes are affected.
Input Operand(s) Precision: 32-bit integer.
Output Operand Precision: n.a.
CCR Condition Codes:
C
- Not affected.
V
- Always cleared.
Z
- Set if result is zero. Cleared otherwise.
N
- Set if result is negative. Cleared otherwise.
I
- Not affected.
LR
- Not affected.
R
- Not affected.
A
- Not affected.
ER Status Bits: Not affected.
IER Flags: Not affected.
Instruction Format: TST
31
DATA BUS MOVE FIELD
OPTIONAL EFFECTIVE ADDRESS EXTENSION OR IMMEDIATE LONG DATA
Instruction Fields:
S
Dn.L
Timing: 2 + mv oscillator clock cycles
Memory: 1 + mv program words
A - 310
Test an Operand
S
(move syntax - see the Move instruction description.)
(u u)
d d d
n n n
where nnn = 0-7
DSP96002 USER'S MANUAL
Assembler Syntax:
TST
S
(move syntax - see the Move instruction
description.)
14 13
10
0110
TST
0
uu01
1ddd
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents