Compute and Move
A
Instruction Set Reference
immediate shift / dreg DM|PM
Syntax:
a.
IF condition
b.
IF condition
Function:
An immediate shift operation is a shifter operation that takes immediate
data as its Y-operand. The immediate data is one 8-bit value or two 6-bit
values, depending on the operation. The x-operand and the result are
register file locations.
If an access to data or program memory from the register file is specified,
it is performed in parallel with the shifter operation. The I register
addresses data or program memory. The I value is post-modified by the
specified M register and updated with the modified value. If a condition is
specified, it affects entire instruction.
Note: See Section 4.4.1, "DAG Register Transfer Restrictions", in
Chapter 4, Data Addressing.
Examples:
IF GT R2=R6 LSHIFT BY 30, DM(I4,M4)=R0;
IF NOT SZ R3=FEXT R1 BY 8:4;
A – 24
www.BDTIC.com/ADI
shiftimm
,
DM(Ia, Mb) = dreg ;
PM(Ic, Md)
shiftimm
,
dreg =
DM(Ia, Mb)
;
PM(Ic, Md)
Need help?
Do you have a question about the ADSP-2106x SHARC and is the answer not in the manual?
Questions and answers