English
Language : 

NS32FX161-15 Datasheet, PDF (47/102 Pages) National Semiconductor (TI) – Advanced Imaging/Communication Signal Processors
3 0 Functional Description (Continued)
Operation
X ADDR 4 X 1
Note Accumulator is not affected
INCY Increment Y Vector Pointer
The INCY instruction increments the Y vector pointer by one
element according to the increment and the wrap
Syntax
EXEC INCY
15
10000
Operation
11 10
0
100 0101 1011
Y ADDR 4 Y 1
Note Accumulator is not affected
INCZ Increment Z Vector Pointer
The INCZ instruction increments the Z vector pointer by one
element according to the increment and the wrap
Syntax
EXEC INCZ
15
10000
Operation
11 10
0
100 0101 1101
Z ADDR 4 Z 1
Note Accumulator is not affected
DECX Decrement X Vector Pointer
The DECX instruction decrements the X vector pointer by
one element according to the increment and the wrap
Syntax
EXEC DECX
15
10000
Operation
11 10
0
101 0010 1101
X ADDR 4 X b1
Note Accumulator is not affected
DECY Decrement Y Vector Pointer
The DECY instruction decrements the Y vector pointer by
one element according to the increment and the wrap
Syntax
EXEC DECY
15
11 10
0
10000
101 0010 1111
Operation
DECY
Y ADDR 4 Y 11
Note Accumlator is not affected
DECZ Decrement Z Vector Pointer
The DECZ instruction decrements the Z vector by one ele-
ment according to the increment and the wrap
Syntax
EXEC DECZ
15
10000
Operation
11 10
0
101 0011 0001
Z ADDR 4 Z 11
Note Accumulator is not affected
3 4 5 7 Flow Control Instructions
NOPR No Operation
The NOPR command passes control to the next command
in the command list No operation is performed
Syntax
NOPR
15
11 10
0
11010
00000000
Note Accumulator is not affected
HALT Terminate Command-List Execution
The HALT command terminates execution of the command
list No further commands are executed This event is made
visible to the CPU core as specified in Section 3 6
Syntax
HALT
15
11 10
0
11001
00000000000
Note Accumulator is not affected
DJNZ Decrement and Jump If Not Zero
The DJNZ command is used to implement loops and
branches in the command list The value of the REPE-
AT COUNT field is decremented by 1 and compared to 0 If
it is not equal to 0 then execution of the command list con-
tinues with the command located in the RAM address speci-
fied by the REPEAT TARGET field When the
REPEAT COUNT field is equal to 0 then execution contin-
ues with the next command in the command list
The DSPM has only one REPEAT register To nest loops
user must save the contents of the REPEAT register before
starting an inner loop and restore it at the end of the inner
loop
47