A13101: Illegal operand format

[ERROR]

Description

An operand used in the instruction is using an invalid addressing mode.

Example

As an example, the following code generates the A13101 error message.

  Entry:

           ADC X+

           LDA 2, SP
  
Tips

To solve this problem, use an allowed addressing mode for the instruction.

  Entry:

           ADC ,X

           ADC X

           ADC #$5

           LDA 2, X