Table 1-9. ASM() Operand Constraints (Cont'd)
1
Constraint
y
z
=&constraint
=constraint
&constraint
=&constraint
?constraint
+constraint
1 The use of any letter not listed in the table results in unspecified behavior. The compiler does
not check the validity of the code by using the constraint letter.
Table 1-10. Register Names for asm() Constructs
Clobber String
"AX1", "AX0", "AY1", "AY0", "AR", "AF"
"MX1", "MX0", "MY1", "MY0", "MR1", "MR0",
"MR2"
"SI", "SE", "SR1", "SR0", "SB", "SR2"
"I0", "I1", "I2", "I3", "I6", "I7"
"M0", "M1", "M2", "M3", "M4", "M6", "M7"
"B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"
"DMPG1", "DMPG2"
"L0", "L1", "L2", "L3", "L5", "L6", "L7"
"PX"
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
Description
DAG2 I registers
DAG2 M registers
Indicates that the constraint is applied to an output operand that may
not overlap an input operand
Indicates that the constraint is applied to an output operand
Indicates the constraint is applied to an input operand that may not be
overlapped with an output operand
Indicates the constraint is applied to an output operand that may not
overlap an input operand
Indicates the constraint is temporary
Indicates the constraint is both an input and output operand
Compiler
Registers
I4-I7
M4-M7
Meaning
ALU registers
MAC registers
Shifter registers
DAG addressing registers
Modifier registers
Base registers
Page registers
Length register
PMD-DMD bus exchange register
1-73
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?