dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 362

no-image

dsp56000

Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Instruction Format:
Opcode:
Instruction Fields:
S=6-bit Source operand = DDDDDD,
expr=16-bit Absolute Address in 24-bit extension word
Source
X0
X1
Y0
Y1
A0
B0
A2
B2
A1
A
B
where rrr=Rn register
where nnn=Nn register
where mmm=Mn register
*For
**For DO SSL, expr The loop counter (LC) will be loaded with its previous value
A - 96
DO
DO
DO SP, expr
Thus, if SP=3, the execution of the DO SP,expr instruction will load the loop
counter (LC) with the value LC=4.
0
23
0 0 0 1 0 0
0 0 0 1 0 1
0 0 0 1 1 0
0 0 0 1 1 1
0 0 1 0 0 0
0 0 1 0 0 1
0 0 1 0 1 0
0 0 1 1 0 0
0 0 1 1 0 1
0 0 1 1 1 0
0 0 1 1 1 1
D D D D D D
0
S, expr
0
20 19
0
0
Freescale Semiconductor, Inc.
The actual value that will be loaded into the loop counter (LC) is
which was saved on the stack by the DO instruction itself.
1
the value of the stack pointer (SP) before the execution of the
DO instruction, incremented by 1.
For More Information On This Product,
1
INSTRUCTION DESCRIPTIONS
INSTRUCTION SET DETAILS
0
16 15
ABSOLUTE ADDRESS EXTENSION
Go to: www.freescale.com
1
Start Hardware Loop
S/L
no
no
no
no
no
no
no
no
no
yes [see Notes on page A-97]
yes [see Notes on page A-97]
S
1
D
SR
OMR
SP*
SSL**
LA
LC
R0-R7
N0-N7
M0-M7
Source
D
D
D
D
1 1 1 0 0 1
1 1 1 0 1 0
1 1 1 0 1 1
1 1 1 1 0 1
1 1 1 1 1 0
1 1 1 1 1 1
0 1 0 r
0 1 1 n n n
1 0 0 m m m
D D D D D D
D
8
7
D
0
0
r
0
r
0
0
MOTOROLA
0
DO
0
0

Related parts for dsp56000