Skip to main content

IAR Embedded Workbench for RH850 3.20.x

Assembler control directives

In this section:
Syntax

/*comment*/

//comment

CASEOFF

CASEON

ERROR "message"

RADIX expr

Parameters

comment

Comment ignored by the assembler.

expr

Default base—default 10 (decimal).

message

Text to be displayed.

Description

These directives provide control over the operation of the assembler. For information about the restrictions that apply when using a directive in an expression, see Expression restrictions.

Directive

Description

Expression restrictions

/*comment*/

C-style comment delimiter.

//

C++ style comment delimiter.

CASEOFF

Disables case sensitivity.

CASEON

Enables case sensitivity.

ERROR

Generates an error.

RADIX

Sets the default base on all numeric values.

No forward references

No external references

Absolute

Fixed

Table 131. Assembler control directives  


Use /*...*/ to comment sections of the assembler listing.

Use // to mark the rest of the line as comment.

Use RADIX to set the default base for constants. The default base is 10.