diff --git a/src/da65/handler.c b/src/da65/handler.c index fe0b019e0..5cb33ba41 100644 --- a/src/da65/handler.c +++ b/src/da65/handler.c @@ -467,7 +467,14 @@ void OH_BlockMove (const OpcDesc* D attribute ((unused))) void OH_AbsoluteXIndirect (const OpcDesc* D attribute ((unused))) { - Error ("Not implemented"); + /* Get the operand */ + unsigned Addr = GetCodeWord (PC+1); + + /* Generate a label in pass 1 */ + GenerateLabel (D->Flags, Addr); + + /* Output the line */ + OneLine (D, "(%s,x)", GetAddrArg (D->Flags, Addr)); }