AX51: DALLAS STARTUP CODE GENERATES ERROR A84
Information in this article applies to:
I am using startup code for a Dallas DS80C390, DS80C400, or DS80C410 device and I get the following error:
error A84: OPERATOR REQUIRES A CODE/ECODE ADDRESS
The corresponding source line is:
ljmp far sanity_check
The program translated fine in a previous version of the Keil development tools. What's wrong?
The Dallas devices do not have a far/near addressing method. Instead they are using a fixed CPU mode (in this case the contiguous mode that always uses long forms for LJMP instructions. Therefore the current release of the Keil AX51 Macro Assembler flags the far keyword as an error.
To solve the problem, just delete the far keyword in your source code. This will work correct:
Last Reviewed: Wednesday, November 15, 2006
of your data.