Download ADSP-218x DSP Instruction Set Reference

Transcript
Instruction Set
I NSTRUCTION F ORMAT
Conditional ALU/MAC operation, Instruction Type 9:
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
0
0
1
0
0
Z AMF
Yop
8
Xop
7
6
5
4
3
0
0
0
0
COND
AMF
specifies the ALU or MAC operation, in this case:
AMF
= 10101 for
AMF
= 11001 for –
Note that –
Z:
Xop:
xop
– yop
xop
2
1
0
operation
operation
is a special case of yop
Destination register
X operand
– xop,
with yop specified to be 0.
Yop:
COND:
Y operand
Condition
S EE A LSO
• IF Condition Codes Table 4-9 on page 4-25
• “Status Condition Codes” on page A-12
• “ALU/MAC Result Register Codes” on page A-25
• “AMF Function Codes” on page A-10
• “X Operand Codes” on page A-24
• “Y Operand Codes” on page A-24
ADSP-218x Instruction Set Reference
4-55