C/C++ Compiler Language Extensions
Using
constructs with operands requires some additional syntax.
asm()
The construct syntax is described in:
•
"Assembly Construct Template" on page 1-64
•
"Assembly Construct Operand Description" on page 1-68
•
"Assembly Constructs with Multiple Instructions" on page 1-74
•
"Assembly Construct Reordering and Optimization" on page 1-74
•
"Assembly Constructs with Input and Output Operands" on
page 1-75
•
"Assembly Constructs and Macros" on page 1-77
Assembly Construct Template
Using
constructs, you can specify the operands of the assembly
asm()
instruction using C expressions. You do not need to know which registers
or memory locations contain C variables.
ASM() Construct Syntax:
Use the following general syntax for your
asm(
template
[:[constraint(output operand)[,constraint(output operand)...]]
[:[constraint(input operand)[,constraint(input operand)...]]
[:clobber]]]
);
The syntax elements are defined as:
1-64
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
constructs.
asm()
for ADSP-219x DSPs
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers