Keil Logo

MODBIN Compiler Directive

Abbreviation

None.

Arguments

None.

Default

Generate code for the source mode of the 251.

µVision

Options — C251 Compiler — Object — Code Generation.

Description

The MODBIN directive instructs the C251 compiler to generate instructions for the binary mode of the 251.

When the MODBIN directive is specified, the C251 compiler generates binary mode code that uses the ESC prefix (0A5h). Binary mode code generated with the C251 compiler is not compatible with the 8051.

Example
C251 SAMPLE.C MODSRC
  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.