|ARM Technical Support Knowledge Articles|
Applies to: A51 Macro Assembler
Information in this article applies to:
How do I create a data variables that is bit-adderssable in the A51 assembler?
The following example program shows you how to accomplish this:
BIT_VAR DATA 20h FUNNY_ERROR BIT BIT_VAR.0 STAT_ERROR BIT BIT_VAR.1 ANOTHER_ERROR BIT BIT_VAR.2 cseg at 0 MOV BIT_VAR, #0 CLR FUNNY_ERROR SETB STAT_ERROR JNB ANOTHER_ERROR, loop loop: jmp loop END
Article last edited on: 2001-03-31 00:00:00
Did you find this article helpful? Yes No
How can we improve this article?