Keil™, An ARM® Company

Technical Support

A51: ERROR 4 (BAD INDIRECT REGISTER IDENTIFIER)


Information in this article applies to:

  • C251 Version 2.14
  • C51 Version 5.50

QUESTION

When I assemble my 8051/80251 assembly source file, I get the following diagnostic:

ERROR 4: BAD INDIRECT REGISTER IDENTIFIER

ANSWER

This error occurs if combined registers are entered incorrectly. For example:

@R7, @R3, @PC+A, @DPTR+A

MORE INFORMATION

  • Refer to Error A4 in the Ax51 User's Guide.

Last Reviewed: Friday, July 15, 2005


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