Keil™, An ARM® Company

Technical Support

A51: USING C SFR AND SBIT DEFINITIONS


Information in this article applies to:

  • C51 Version 6.01

QUESTION

How can I convert my C SFR and SBIT declarations so that they work in the A51 Assembler?

ANSWER

C sfr and sbit declarations are now accepted as input to the A51 Assembler. You may now include your C register definition files in your assembler source files. For example:

sfr  P0 = 0x80;
sbit P0_1 = P0^1;

will work in the C51 V6.01 assembler.

SEE ALSO

Last Reviewed: Monday, April 08, 2002


Did this article provide the answer you needed?
 
Yes
No
Not Sure