ARM Technical Support Knowledge Articles

USING C SFR AND SBIT DEFINITIONS

Applies to: A51 Macro Assembler

Answer


Information in this article applies to:


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

Article last edited on: 2002-04-08 00:00:00

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential