Immediate Move Instructions; Miscellaneous Instructions - Analog Devices ADSP-21020 Specification Sheet

Analog devices 2/40-bit ieee floating-point dsp microprocessor specification sheet
Hide thumbs Also See for ADSP-21020:
Table of Contents

Advertisement

ADSP-21020

IMMEDIATE MOVE INSTRUCTIONS

14a. DM(<addr32>) = ureg ;
PM(<addr24>)
14b. ureg =
DM(<addr32>) ;
PM(<addr24>)
15a. DM(<data32>, Ia) = ureg;
PM(< data24>, Ic)
15b. ureg =
DM(<data32>, Ia) ;
PM(<data24>, Ic)
16. DM(Ia, Mb) = <data32>;
PM(Ic, Md)
17. ureg = <data32>;

MISCELLANEOUS INSTRUCTIONS

18. BIT
SET
CLR
TGL
TST
XOR
19a. MODIFY
(Ia, <data32>)|;
(Ic,
<data32>)|
19b. BITREV
(Ia, <data32>) ;
20. |PUSH
LOOP ,
|POP
21. NOP ;
22. IDLE ;
Table I. Syntax Notation Conventions
Notation
Meaning
UPPERCASE
Explicit syntax—assembler keyword (nota-
tion only; assembler is not case-sensitive
and lowercase is the preferred programming
convention)
;
Instruction terminator
,
Separates parallel operations in an
instruction
italics
Optional part of instruction
| between lines |
List of options (choose one)
<datan>
n-bit immediate data value
<addrn>
n-bit immediate address value
<reladdrn>
n-bit immediate PC-relative address value
compute
ALU, multiplier, shifter or multifunction
operation (from Tables IV-VII)
shiftimm
Shifter immediate operation
(from Table VI)
condition
Status condition (from Table II)
termination
Termination condition (from Table II)
ureg
Universal register (from Table III)
sreg
System register (from Table III)
dreg
R15-R0, F15-F0; register file location
Ia
I7-I0; DAG1 index register
Mb
M7-M0; DAG1 modify register
Ic
I15-I8; DAG2 index register
Md
M15-M8; DAG2 modify register
sreg <data32>;
PUSH
STS ;
POP
Table II. Condition and Termination Codes
Name
eq
ne
ge
lt
le
gt
ac
not ac
av
not av
mv
not mv
ms
not ms
sv
not sv
sz
not sz
flag0_in
not flag0_in
flag1_in
not flag1_in
flag2_in
not flag2_in
flag3_in
not flag3_in
tf
not tf
lce
not lce
forever
true
In a conditional instruction, the execution of the entire instruction is based on
the specified condition.
–8–
Description
ALU equal to zero
ALU not equal to zero
ALU greater than or equal to zero
ALU less than zero
ALU less than or equal to zero
ALU greater than zero
ALU carry
Not ALU carry
ALU overflow
Not ALU overflow
Multiplier overflow
Not multiplier overflow
Multiplier sign
Not multiplier sign
Shifter overflow
Not shifter overflow
Shifter zero
Not shifter zero
Flag 0
Not Flag 0
Flag 1
Not Flag l
Flag 2
Not Flag 2
Flag 3
Not Flag 3
Bit test flag
Not bit test flag
Loop counter expired (DO UNTIL)
Loop counter not expired (IF)
Always False (DO UNTIL)
Always True (IF)
REV. C

Advertisement

Table of Contents
loading

Table of Contents

Save PDF