English
Language : 

NS32FX16-15 Datasheet, PDF (17/88 Pages) National Semiconductor (TI) – Imaging/Signal Processor
2 0 Architectural Description (Continued)
TABLE 2-2 NS32FX16 Instruction Set Summary (Continued)
STRINGS
String instructions assign specific functions to the General
Purpose Registers
R4 Comparison Value
R3 Translation Table Pointer
R2 String 2 Pointer
R1 String 1 Pointer
R0 Limit Count
Options on all string instructions are
B (Backward)
Decrement string pointers after each
step rather than incrementing
U (Until match) End instruction if String 1 entry matches
R4
W (While match) End instruction if String 1 entry does not
match R4
All string instructions end when R0 decrements to zero
Format
Operation
Operands
5
MOVSi
options
MOVST
options
5
CMPSi
options
CMPST
options
5
SKPSi
options
SKPST
options
JUMPS AND LINKAGE
Format
Operation
Operands
3
JUMP
gen
0
BR
disp
0
Bcond
disp
3
CASEi
gen
2
ACBi
short gen disp
3
JSR
gen
1
BSR
disp
1
CXP
disp
3
CXPD
gen
1
SVC
1
FLAG
1
BPT
1
ENTER
reg list disp
1
EXIT
reg list
1
RET
disp
1
RXP
disp
1
RETT
disp
1
RETI
CPU REGISTER MANIPULATION
Format
Operation
Operands
1
SAVE
reg list
1
RESTORE
reg list
2
LPRi
areg gen
2
SPRi
areg gen
3
ADJSPi
gen
3
BISPSRi
gen
3
BICPSRi
gen
5
SETCFG
option list
Description
Move string 1 to string 2
Move string translating bytes
Compare string 1 to string 2
Compare translating string 1 bytes
Skip over string 1 entries
Skip translating bytes for until while
Description
Jump
Branch (PC Relative)
Conditional branch
Multiway branch
Add 4-bit constant and branch if non-zero
Jump to subroutine
Branch to subroutine
Call external procedure
Call external procedure using descriptor
Supervisor call
Flag trap
Breakpoint trap
Save registers and allocate stack frame (Enter Procedure)
Restore registers and reclaim stack frame (Exit Procedure)
Return from subroutine
Return from external procedure call
Return from trap (Privileged)
Return from interrupt (Privileged)
Description
Save general purpose registers
Restore general purpose registers
Load dedicated register (Privileged if PSR or INTBASE)
Store dedicated register (Privileged if PSR or INTBASE)
Adjust stack pointer
Set selected bits in PSR (Privileged if not Byte length)
Clear selected bits in PSR (Privileged if not Byte length)
Set configuration register (Privileged)
17