beautypg.com

Tst test an operand tst – Motorola DSP96002 User Manual

Page 498

background image

A - 310

DSP96002 USER’S MANUAL

MOTOROLA

TST

Test an Operand

TST

Instruction Fields:

(u u)

S

d d d

Dn.L

n n n

where nnn = 0-7

Timing: 2 + mv oscillator clock cycles

Memory: 1 + mv program words

Operation:

S - 0 (parallel data bus move)

Assembler Syntax:

TST S
(move syntax - see the Move instruction

description.)

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 S (move syntax - see the Move instruction description.)

10

0110

uu01

1ddd

31

14 13

0

OPTIONAL EFFECTIVE ADDRESS EXTENSION OR IMMEDIATE LONG DATA

DATA BUS MOVE FIELD