English
Language : 

NS32FX16-15 Datasheet, PDF (16/88 Pages) National Semiconductor (TI) – Imaging/Signal Processor
2 0 Architectural Description (Continued)
TABLE 2-2 NS32FX16 Instruction Set Summary (Continued)
INTEGER COMPARISON
Format
Operation
Operands
Description
4
CMPi
gen gen
Compare
2
CMPQi
short gen
Compare to signed 4-bit constant
7
CMPMi
gen gen disp
Compare multiple disp bytes (1 to 16)
LOGICAL AND BOOLEAN
Format
Operation
Operands
Description
4
ANDi
4
ORi
4
BICi
4
XORi
6
COMi
6
NOTi
2
Scondi
gen gen
gen gen
gen gen
gen gen
gen gen
gen gen
gen
Logical AND
Logical OR
Clear selected bits
Logical exclusive OR
Complement all bits
Boolean complement LSB only
Save condition code (cond) as a Boolean variable of size i
SHIFTS
Format
Operation
Operands
Description
6
LSHi
6
ASHi
6
ROTi
gen gen
gen gen
gen gen
Logical shift left or right
Arithmetic shift left or right
Rotate left or right
BIT FIELDS
Bit fields are values in memory that are not aligned to byte boundaries Examples are PACKED arrays and records used in
Pascal ‘‘Extract’’ instructions read and align a bit field ‘‘Insert’’ instructions write a bit field from an aligned source
Format Operation Operands
Description
8
8
7
7
8
ARRAYS
Format
8
8
EXTi
INSi
EXTSi
INSSi
CVTP
Operation
CHECKi
INDEXi
reg gen gen disp
reg gen gen disp
gen gen imm imm
gen gen imm imm
reg gen gen
Operands
reg gen gen
reg gen gen
Extract bit field (array oriented)
Insert bit field (array oriented)
Extract bit field (short form)
Insert bit field (short form)
Convert to bit field pointer
Description
Index bounds check
Recursive indexing step for multiple-dimensional arrays
16