Keil Logo

SFR16 Assembler Statement

Arguments
sfr16 sfr_symbol = address;
Description

The sfr16 statement defines a 16-bit Special Function Register (SFR) to the assembler.

Note

  • The Ax51 assembler ignores symbol definitions that start with sfr16. This is implemented to maintain compatibility with the Cx51 compiler.
Example
sfr16  T2 = 0xCC;   /* ignored by AX51  */
  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.