Keil Logo

MODSRC Assembler Directive

Abbreviation

MS

Arguments

None.

Default

Code is generated for 251 binary mode.

µVision

Options — Target — CPU Mode.

Description

The MODSRC directive specifies that the assembler generate code for 251 source mode.

Note

  • This directive does not change any assembler code or instruction encoding. It is used to notify the linker and debugger of the instruction set used. The linker uses this information to check the consistency of instruction set usage between program object modules. A linker warning is generated if the program modules differ.
See Also

INTR2

Example
A251 SAMPLE.A51 MODSRC

$MS
  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.