1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-25 13:29:41 +00:00

The absolute X indirect addressing mode for the 65C02 CPU was missing.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3266 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-10-26 20:20:55 +00:00
parent 56656eac69
commit 1cb722ba7d

View File

@ -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));
}