Keil Logo

Controls

Assembler controls instruct the assembler how to process subsequent assembly language instructions. Controls also provide a way for you to define program constants and reserve space for variables.

Assembler controls direct the operation of the assembler when generating a listing file or object file. Typically, controls do not impact the code that is generated by the assembler. Controls can be specified on the command line or within an assembler source file.

The conditional assembly controls are the only assembler controls that will impact the code that is assembled by the Ax51 assembler. The IF, ELSE, ENDIF, and ELSEIF assembler control statements provide a powerful set of conditional operators that can be used to include or exclude certain parts of your program from the assembly.

The topic Control Statements describes the available assembler controls in detail and provides an example of each. Refer to this topic for more information about control statements.

  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.