Download ADSP-218x DSP Instruction Set Reference

Transcript
Instruction Set
MAC Transfer MR
S YNTAX
[ IF cond ]
MR
MF
Permissible conds
NE
EQ
= MR
[(RND)]
GT
GE
LT
POS
AV
NOT AV
NOT MV
NOT CE
LE
NEG
AC
NOT AC MV
;
E XAMPLES
/* Conditional transfer MR */
IF EQ MF = MR (RND);
/* Load MR register */
MR0 = DM(MR0_VAL);
MR1 = DM(MR1_VAL);
MR2 = DM(MR2_VAL);
MR = MR;
/* Update the MV flag */
IF MV SAT MR;
D ESCRIPTION
Test the optional condition and, if true, then perform the MR transfer
according to the description below. If the condition is not true then perform a no-operation. Omitting the condition performs the transfer
unconditionally.
ADSP-218x Instruction Set Reference
4-93