Keil Logo

Arm Assembler

Conditional Assembly Control Symbols

Define
Sets symbols using the SETA directive. The defined names are copied exactly as they are entered (case-sensitive). Each name may get optionally a value, for example: Check, NoExtRam, X1=1+5

Language / Code Generation

Enable ARM/Thumb Interworking
The code in the assembler source file allows calls between ARM and Thumb mode code. Available only for devices that can switch between ARM and Thumb mode. Sets the assembler command-line option --apcs=interwork.
Read-Only Position Independent
The code in the assembler source file is designed for position independent ROM constants. Generates the assembler command-line option --apcs=/ropi.
Read-Write Position Independent
The code in the assembler source file is designed for position independent RAM variables. Sets the assembler command-line option --apcs=/rwpi.
Thumb Mode
Generate Thumb Code. Sets the assembler command-line option --16.
No Warnings
Disable warning messages. Sets the assembler command-line option --nowarn. Is interchangeable with --no_warn.
Execute-only Code
Adds the EXECONLY AREA attribute to all code sections, causing the linker to treat the section as execute-only. Sets the assembler control string --execute_only. The user must ensure that the section is safe to run in execute-only memory. The code should not:
  • Contain literal pools.
  • Attempt to load data from the same, or another, execute-only section.
Restricted to
  • Cortex-M3 and Cortex-M4 processor-based devices.
  • armasm assembler version 5.04 and above.
Split Load and Store Multiple
An error message is generated when the instructions LDM/STM have more than 5 (more than 4 when the PC is changed) CPU registers. Sets the assembler command-line option --split_ldm.
No Auto Includes
Suppress all assembler paths that are included automatically during assemblation. System includes are not affected by this box. Assembler auto-include paths can be viewed in the field Assembler control string.

Other Controls

Include Paths
Allows you to supply one or more (separated by semi-colon) paths to source file path.
Misc Controls
Specify any directive for which there is no individual dialog control.
Assembler control string
Display the current directives at the Assembler command line.

 

  • The assembler directive INFO has a parameter severity. This parameter is not supported in µVision. As a consequence, INFO messages are always displayed in the Output window.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.