Asm() Construct Syntax Rules - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

C/C++ Compiler Language Extensions
and output operands are guaranteed not to use any of the clobbered
registers, so you can read and write the clobbered registers as often
as you like. See

ASM() Construct Syntax Rules

These rules apply to assembly construct template syntax:
• The template is the only mandatory argument to
arguments are optional.
• An operand constraint string followed by a C/C++ expression in
parentheses describes each operand. For output operands, it must
be possible to assign to the expression—that is, the expression must
be legal on the left side of an assignment statement.
• A colon separates:
• The template from the first output operand
• The last output operand from the first input operand
• The last input operand from the clobbered registers
• A space must be added between adjacent colon field delimiters in
order to avoid a clash with the C++ "::" reserved global resolution
operator.
• A comma separates operands and registers within arguments.
• The number of operands in arguments must match the number of
operands in your template.
• The maximum permissible number of operands is ten (
,
,
%3
%4
%5
1-66
Table 1-10 on page
,
,
,
, and
%6
%7
%8
%9
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
1-73.
).
for ADSP-219x DSPs
. All other
asm()
,
,
,
%0
%1
%2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents