dsp56800 Freescale Semiconductor, Inc, dsp56800 Datasheet - Page 98

no-image

dsp56800

Manufacturer Part Number
dsp56800
Description
16-bit Digital Signal Controllers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Address Generation Unit
4.2.3.1
This addressing mode requires one word of instruction extension. This additional word contains the 16-bit
immediate data used by the instruction. This reference is classified as a program reference. Examples of
the use and effects of immediate-data mode are shown in Figure 4-10 on page 4-18.
4-18
Assembler syntax: #xxxx
Additional instruction execution cycles: 1
Additional effective address program words: 1
B
B
B
35 32 31
35 32 31
35 32 31
Immediate Data: #xxxx
B2
B2
B2
X
X
X
X
X
X
Positive Immediate into 36-Bit Accumulator Example
Negative Immediate into 36-Bit Accumulator Example
Before Execution
Before Execution
Before Execution
X
X
X
B1
B1
B1
Immediate into 16-Bit Register Example
X
X
X
Figure 4-10. Special Addressing: Immediate Data
X
X
X
16 15
16 15
16 15
X
X
X
X
X
X
B0
B0
B0
DSP56800 Family Manual
X
X
X
X
X
X
0
0
0
B
B
B
35 32 31
35 32 31
35 32 31
B2
B2
B2
: MOVE #$A987,B1
X
F
0
A
1
A
: MOVE #$1234,B
After Execution
After Execution
After Execution
9
2
9
: MOVE #$A987,B
B1
B1
B1
8
3
8
7
16 15
4
16 15
7
16 15
X
0
0
Freescale Semiconductor
X
0
0
B0
B0
B0
X
0
0
X
0
0
0
0
0
AA0023

Related parts for dsp56800