Test<Cc>; Table 6-20. Condition Code Mask Descriptions - Intel i960 Jx Developer's Manual

Microprocessor
Table of Contents

Advertisement

INSTRUCTION SET REFERENCE
6.2.68
TEST<cc>
Mnemonic:
teste
testne
testl
testle
testg
testge
testo
testno
Format:
test*
Description:
Stores a true (01H) in dst when the logical AND of the condition code and
opcode mask part is not zero. Otherwise, the instruction stores a false (00H)
in dst. For
000
, otherwise a false is stored.
2
The following table shows the condition code mask for each instruction. The
mask is in bits 0-2 of the opcode.

Table 6-20. Condition Code Mask Descriptions

Instruction
testno
testg
teste
testge
testl
testne
testle
testo
6-118
Test For Equal
Test For Not Equal
Test For Less
Test For Less Or Equal
Test For Greater
Test For Greater Or Equal
Test For Ordered
Test For Not Ordered
dst:src1
reg
(Unordered), a true is stored when the condition code is
testno
Mask
Condition
000
Unordered
2
001
Greater
2
010
Equal
2
011
Greater or equal
2
100
Less
2
101
Not equal
2
110
Less or equal
2
111
Ordered
2

Advertisement

Table of Contents
loading

Table of Contents