English
Language : 

SMJ320C80 Datasheet, PDF (60/157 Pages) Texas Instruments – DIGITAL SIGNAL PROCESSOR
SMJ320C80
DIGITAL SIGNAL PROCESSOR
SGUS025B – AUGUST 1998 – REVISED JUNE 2002
addressing mode codes
The Lmode (bits 35–38) and Gmode (bits 13–16) of the opcode specify the local and global transfer for various
parallel transfer opcode formats (Lmode in formats 1, 2, 3, 4, and 6 and Gmode in formats 1, 5, and 9). See
Figure 45 for PP opcode formats. Table 22 shows the coding for the addressing mode fields.
Table 22. Addressing Mode Codes
CODING
EXPRESSION
DESCRIPTION
00xx
Nop (nonaddressing mode operation)
0100
*(an ++= xm)
Postaddition of index register, with modify
0101
*(an – –= xm)
Postsubtraction of index register, with modify
0110
*(an ++= imm)
Postaddition of immediate, with modify
0111
*(an – –= imm)
Postsubtraction of immediate, with modify
1000
*(an + xm)
Preaddition of index register
1001
*(an – xm)
Presubtraction of index register
1010
*(an + imm)
Preaddition of immediate
1011
*(an – imm)
Presubtraction of immediate
1100
*(an += xm)
Preaddition of index register, with modify
1101
*(an –= xm)
Presubtraction of index register, with modify
1110
*(an += imm)
Preaddition of immediate, with modify
1111
*(an –= imm)
Presubtraction of immediate, with modify
Legend:
an
imm
xm
Address register in local/global (l/g) address unit
Immediate offset
Index register in same unit as an register
L, e codes
The L and e bits combine to specify the type of parallel transfer performed. For the local transfer, L and e are
bits 21 and 31, respectively. For the global transfer, L and e are bits 17 and 9, respectively. See Figure 45 for
PP opcode formats.
Table 23. Parallel Transfer Type
L e PARALLEL TRANSFER
0 0 Store
0 1 Address unit arithmetic
1 0 Zero-extend load
1 1 Sign-extend load
size codes
The size code specifies the data transfer size. For field moves (parallel transfer format 3), only byte and halfword
data sizes are valid.
Table 24. Transfer Data Size
ÁÁÁÁÁÁÁÁÁÁ CODING
ÁÁÁÁÁÁÁÁÁÁ 00
ÁÁÁÁÁÁÁÁÁÁ 01
ÁÁÁÁÁÁÁÁÁÁ 10
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ 11
DATA SIZE
Byte (8 bits)
Halfword (16 bits)
Word (32 bits)
Reserved
60
• POST OFFICE BOX 1443 HOUSTON, TEXAS 77251–1443