mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
An "absolute mode override modifier" is now added for instructions where
the assembler will otherwise choose the cheaper zeropage addressing mode because of the size of the operand. git-svn-id: svn://svn.cc65.org/cc65/trunk@2590 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
7496da8f93
commit
cba152f777
@ -90,6 +90,20 @@ static void OneLine (const OpcDesc* D, const char* Arg, ...)
|
||||
|
||||
|
||||
|
||||
static const char* GetAbsOverride (unsigned Flags, unsigned Addr)
|
||||
/* If the instruction requires an abs override modifier, return the necessary
|
||||
* string, otherwise return the empty string.
|
||||
*/
|
||||
{
|
||||
if (Flags & flAbsOverride && Addr < 0x100) {
|
||||
return "a:";
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
static const char* GetAddrArg (unsigned Flags, unsigned Addr)
|
||||
/* Return an address argument - a label if we have one, or the address itself */
|
||||
{
|
||||
@ -212,7 +226,7 @@ void OH_Absolute (const OpcDesc* D)
|
||||
GenerateLabel (D->Flags, Addr);
|
||||
|
||||
/* Output the line */
|
||||
OneLine (D, "%s", GetAddrArg (D->Flags, Addr));
|
||||
OneLine (D, "%s%s", GetAbsOverride (D->Flags, Addr), GetAddrArg (D->Flags, Addr));
|
||||
}
|
||||
|
||||
|
||||
@ -226,7 +240,7 @@ void OH_AbsoluteX (const OpcDesc* D)
|
||||
GenerateLabel (D->Flags, Addr);
|
||||
|
||||
/* Output the line */
|
||||
OneLine (D, "%s,x", GetAddrArg (D->Flags, Addr));
|
||||
OneLine (D, "%s%s,x", GetAbsOverride (D->Flags, Addr), GetAddrArg (D->Flags, Addr));
|
||||
}
|
||||
|
||||
|
||||
@ -240,7 +254,7 @@ void OH_AbsoluteY (const OpcDesc* D)
|
||||
GenerateLabel (D->Flags, Addr);
|
||||
|
||||
/* Output the line */
|
||||
OneLine (D, "%s,y", GetAddrArg (D->Flags, Addr));
|
||||
OneLine (D, "%s%s,y", GetAbsOverride (D->Flags, Addr), GetAddrArg (D->Flags, Addr));
|
||||
}
|
||||
|
||||
|
||||
|
@ -60,8 +60,8 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "asl", 1, flNone, OH_Accumulator }, /* $0a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $0b */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $0c */
|
||||
{ "ora", 3, flUseLabel, OH_Absolute }, /* $0d */
|
||||
{ "asl", 3, flUseLabel, OH_Absolute }, /* $0e */
|
||||
{ "ora", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $0d */
|
||||
{ "asl", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $0e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $0f */
|
||||
{ "bpl", 2, flLabel, OH_Relative }, /* $10 */
|
||||
{ "ora", 2, flUseLabel, OH_DirectIndirectY }, /* $11 */
|
||||
@ -76,8 +76,8 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $1a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $1b */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $1c */
|
||||
{ "ora", 3, flUseLabel, OH_AbsoluteX }, /* $1d */
|
||||
{ "asl", 3, flUseLabel, OH_AbsoluteX }, /* $1e */
|
||||
{ "ora", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $1d */
|
||||
{ "asl", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $1e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $1f */
|
||||
{ "jsr", 3, flLabel, OH_Absolute }, /* $20 */
|
||||
{ "and", 2, flUseLabel, OH_DirectXIndirect }, /* $21 */
|
||||
@ -91,9 +91,9 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "and", 2, flNone, OH_Immidiate }, /* $29 */
|
||||
{ "rol", 1, flNone, OH_Accumulator }, /* $2a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $2b */
|
||||
{ "bit", 3, flUseLabel, OH_Absolute }, /* $2c */
|
||||
{ "and", 3, flUseLabel, OH_Absolute }, /* $2d */
|
||||
{ "rol", 3, flUseLabel, OH_Absolute }, /* $2e */
|
||||
{ "bit", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $2c */
|
||||
{ "and", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $2d */
|
||||
{ "rol", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $2e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $2f */
|
||||
{ "bmi", 2, flLabel, OH_Relative }, /* $30 */
|
||||
{ "and", 2, flUseLabel, OH_DirectIndirectY }, /* $31 */
|
||||
@ -108,8 +108,8 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $3a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $3b */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $3c */
|
||||
{ "and", 3, flUseLabel, OH_AbsoluteX }, /* $3d */
|
||||
{ "rol", 3, flUseLabel, OH_AbsoluteX }, /* $3e */
|
||||
{ "and", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $3d */
|
||||
{ "rol", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $3e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $3f */
|
||||
{ "rti", 1, flNone, OH_Rts }, /* $40 */
|
||||
{ "eor", 2, flUseLabel, OH_DirectXIndirect }, /* $41 */
|
||||
@ -124,8 +124,8 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "lsr", 1, flNone, OH_Accumulator }, /* $4a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $4b */
|
||||
{ "jmp", 3, flLabel, OH_JmpAbsolute }, /* $4c */
|
||||
{ "eor", 3, flUseLabel, OH_Absolute }, /* $4d */
|
||||
{ "lsr", 3, flUseLabel, OH_Absolute }, /* $4e */
|
||||
{ "eor", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $4d */
|
||||
{ "lsr", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $4e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $4f */
|
||||
{ "bvc", 2, flLabel, OH_Relative }, /* $50 */
|
||||
{ "eor", 2, flUseLabel, OH_DirectIndirectY }, /* $51 */
|
||||
@ -140,8 +140,8 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $5a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $5b */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $5c */
|
||||
{ "eor", 3, flUseLabel, OH_AbsoluteX }, /* $5d */
|
||||
{ "lsr", 3, flUseLabel, OH_AbsoluteX }, /* $5e */
|
||||
{ "eor", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $5d */
|
||||
{ "lsr", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $5e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $5f */
|
||||
{ "rts", 1, flNone, OH_Rts }, /* $60 */
|
||||
{ "adc", 2, flUseLabel, OH_DirectXIndirect }, /* $61 */
|
||||
@ -156,8 +156,8 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "ror", 1, flNone, OH_Accumulator }, /* $6a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $6b */
|
||||
{ "jmp", 3, flLabel, OH_JmpAbsoluteIndirect }, /* $6c */
|
||||
{ "adc", 3, flUseLabel, OH_Absolute }, /* $6d */
|
||||
{ "ror", 3, flUseLabel, OH_Absolute }, /* $6e */
|
||||
{ "adc", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $6d */
|
||||
{ "ror", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $6e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $6f */
|
||||
{ "bvs", 2, flLabel, OH_Relative }, /* $70 */
|
||||
{ "adc", 2, flUseLabel, OH_DirectIndirectY }, /* $71 */
|
||||
@ -172,8 +172,8 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $7a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $7b */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $7c */
|
||||
{ "adc", 3, flUseLabel, OH_AbsoluteX }, /* $7d */
|
||||
{ "ror", 3, flUseLabel, OH_AbsoluteX }, /* $7e */
|
||||
{ "adc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $7d */
|
||||
{ "ror", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $7e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $7f */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $80 */
|
||||
{ "sta", 2, flUseLabel, OH_DirectXIndirect }, /* $81 */
|
||||
@ -187,9 +187,9 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $89 */
|
||||
{ "txa", 1, flNone, OH_Implicit }, /* $8a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $8b */
|
||||
{ "sty", 3, flUseLabel, OH_Absolute }, /* $8c */
|
||||
{ "sta", 3, flUseLabel, OH_Absolute }, /* $8d */
|
||||
{ "stx", 3, flUseLabel, OH_Absolute }, /* $8e */
|
||||
{ "sty", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $8c */
|
||||
{ "sta", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $8d */
|
||||
{ "stx", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $8e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $8f */
|
||||
{ "bcc", 2, flLabel, OH_Relative }, /* $90 */
|
||||
{ "sta", 2, flUseLabel, OH_DirectIndirectY }, /* $91 */
|
||||
@ -204,7 +204,7 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "txs", 1, flNone, OH_Implicit }, /* $9a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $9b */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $9c */
|
||||
{ "sta", 3, flUseLabel, OH_AbsoluteX }, /* $9d */
|
||||
{ "sta", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $9d */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $9e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $9f */
|
||||
{ "ldy", 2, flNone, OH_Immidiate }, /* $a0 */
|
||||
@ -219,9 +219,9 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "lda", 2, flNone, OH_Immidiate }, /* $a9 */
|
||||
{ "tax", 1, flNone, OH_Implicit }, /* $aa */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $ab */
|
||||
{ "ldy", 3, flUseLabel, OH_Absolute }, /* $ac */
|
||||
{ "lda", 3, flUseLabel, OH_Absolute }, /* $ad */
|
||||
{ "ldx", 3, flUseLabel, OH_Absolute }, /* $ae */
|
||||
{ "ldy", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ac */
|
||||
{ "lda", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ad */
|
||||
{ "ldx", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ae */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $af */
|
||||
{ "bcs", 2, flLabel, OH_Relative }, /* $b0 */
|
||||
{ "lda", 2, flUseLabel, OH_DirectIndirectY }, /* $b1 */
|
||||
@ -235,9 +235,9 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "lda", 3, flUseLabel, OH_AbsoluteY }, /* $b9 */
|
||||
{ "tsx", 1, flNone, OH_Implicit }, /* $ba */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $bb */
|
||||
{ "ldy", 3, flUseLabel, OH_AbsoluteX }, /* $bc */
|
||||
{ "lda", 3, flUseLabel, OH_AbsoluteX }, /* $bd */
|
||||
{ "ldx", 3, flUseLabel, OH_AbsoluteY }, /* $be */
|
||||
{ "ldy", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $bc */
|
||||
{ "lda", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $bd */
|
||||
{ "ldx", 3, flUseLabel|flAbsOverride, OH_AbsoluteY }, /* $be */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $bf */
|
||||
{ "cpy", 2, flNone, OH_Immidiate }, /* $c0 */
|
||||
{ "cmp", 2, flUseLabel, OH_DirectXIndirect }, /* $c1 */
|
||||
@ -251,9 +251,9 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "cmp", 2, flNone, OH_Immidiate }, /* $c9 */
|
||||
{ "dex", 1, flNone, OH_Implicit }, /* $ca */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $cb */
|
||||
{ "cpy", 3, flUseLabel, OH_Absolute }, /* $cc */
|
||||
{ "cmp", 3, flUseLabel, OH_Absolute }, /* $cd */
|
||||
{ "dec", 3, flUseLabel, OH_Absolute }, /* $ce */
|
||||
{ "cpy", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $cc */
|
||||
{ "cmp", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $cd */
|
||||
{ "dec", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ce */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $cf */
|
||||
{ "bne", 2, flLabel, OH_Relative }, /* $d0 */
|
||||
{ "cmp", 2, flUseLabel, OH_DirectIndirectY }, /* $d1 */
|
||||
@ -268,8 +268,8 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $da */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $db */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $dc */
|
||||
{ "cmp", 3, flUseLabel, OH_AbsoluteX }, /* $dd */
|
||||
{ "dec", 3, flUseLabel, OH_AbsoluteX }, /* $de */
|
||||
{ "cmp", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $dd */
|
||||
{ "dec", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $de */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $df */
|
||||
{ "cpx", 2, flNone, OH_Immidiate }, /* $e0 */
|
||||
{ "sbc", 2, flUseLabel, OH_DirectXIndirect }, /* $e1 */
|
||||
@ -283,9 +283,9 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "sbc", 2, flNone, OH_Immidiate }, /* $e9 */
|
||||
{ "nop", 1, flNone, OH_Implicit }, /* $ea */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $eb */
|
||||
{ "cpx", 3, flUseLabel, OH_Absolute }, /* $ec */
|
||||
{ "sbc", 3, flUseLabel, OH_Absolute }, /* $ed */
|
||||
{ "inc", 3, flUseLabel, OH_Absolute }, /* $ee */
|
||||
{ "cpx", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ec */
|
||||
{ "sbc", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ed */
|
||||
{ "inc", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ee */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $ef */
|
||||
{ "beq", 2, flLabel, OH_Relative }, /* $f0 */
|
||||
{ "sbc", 2, flUseLabel, OH_DirectIndirectY }, /* $f1 */
|
||||
@ -300,8 +300,8 @@ const OpcDesc OpcTable_6502[256] = {
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $fa */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $fb */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $fc */
|
||||
{ "sbc", 3, flUseLabel, OH_AbsoluteX }, /* $fd */
|
||||
{ "inc", 3, flUseLabel, OH_AbsoluteX }, /* $fe */
|
||||
{ "sbc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fd */
|
||||
{ "inc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fe */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $ff */
|
||||
};
|
||||
|
||||
|
@ -59,9 +59,9 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "ora", 2, flNone, OH_Immidiate }, /* $09 */
|
||||
{ "asl", 1, flNone, OH_Accumulator }, /* $0a */
|
||||
{ "phd", 1, flNone, OH_Implicit }, /* $0b */
|
||||
{ "tsb", 3, flUseLabel, OH_Absolute }, /* $0c */
|
||||
{ "ora", 3, flUseLabel, OH_Absolute }, /* $0d */
|
||||
{ "asl", 3, flUseLabel, OH_Absolute }, /* $0e */
|
||||
{ "tsb", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $0c */
|
||||
{ "ora", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $0d */
|
||||
{ "asl", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $0e */
|
||||
{ "ora", 4, flUseLabel, OH_AbsoluteLong }, /* $0f */
|
||||
{ "bpl", 2, flLabel, OH_Relative }, /* $10 */
|
||||
{ "ora", 2, flUseLabel, OH_DirectIndirectY }, /* $11 */
|
||||
@ -75,9 +75,9 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "ora", 3, flUseLabel, OH_AbsoluteY }, /* $19 */
|
||||
{ "inc", 1, flNone, OH_Accumulator }, /* $1a */
|
||||
{ "tcs", 1, flNone, OH_Implicit }, /* $1b */
|
||||
{ "trb", 3, flUseLabel, OH_Absolute }, /* $1c */
|
||||
{ "ora", 3, flUseLabel, OH_AbsoluteX }, /* $1d */
|
||||
{ "asl", 3, flUseLabel, OH_AbsoluteX }, /* $1e */
|
||||
{ "trb", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $1c */
|
||||
{ "ora", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $1d */
|
||||
{ "asl", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $1e */
|
||||
{ "ora", 4, flUseLabel, OH_AbsoluteLongX }, /* $1f */
|
||||
{ "jsr", 3, flLabel, OH_Absolute }, /* $20 */
|
||||
{ "and", 2, flUseLabel, OH_DirectXIndirect }, /* $21 */
|
||||
@ -91,9 +91,9 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "and", 2, flNone, OH_Immidiate }, /* $29 */
|
||||
{ "rol", 1, flNone, OH_Accumulator }, /* $2a */
|
||||
{ "pld", 1, flNone, OH_Implicit }, /* $2b */
|
||||
{ "bit", 3, flUseLabel, OH_Absolute }, /* $2c */
|
||||
{ "and", 3, flUseLabel, OH_Absolute }, /* $2d */
|
||||
{ "rol", 3, flUseLabel, OH_Absolute }, /* $2e */
|
||||
{ "bit", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $2c */
|
||||
{ "and", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $2d */
|
||||
{ "rol", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $2e */
|
||||
{ "and", 4, flUseLabel, OH_AbsoluteLong }, /* $2f */
|
||||
{ "bmi", 2, flLabel, OH_Relative }, /* $30 */
|
||||
{ "and", 2, flUseLabel, OH_DirectIndirectY }, /* $31 */
|
||||
@ -108,8 +108,8 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "dec", 1, flNone, OH_Accumulator }, /* $3a */
|
||||
{ "tsc", 1, flNone, OH_Implicit }, /* $3b */
|
||||
{ "bit", 3, flUseLabel, OH_AbsoluteX }, /* $3c */
|
||||
{ "and", 3, flUseLabel, OH_AbsoluteX }, /* $3d */
|
||||
{ "rol", 3, flUseLabel, OH_AbsoluteX }, /* $3e */
|
||||
{ "and", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $3d */
|
||||
{ "rol", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $3e */
|
||||
{ "and", 4, flUseLabel, OH_AbsoluteLongX }, /* $3f */
|
||||
{ "rti", 1, flNone, OH_Rts }, /* $40 */
|
||||
{ "eor", 2, flUseLabel, OH_DirectXIndirect }, /* $41 */
|
||||
@ -124,8 +124,8 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "lsr", 1, flNone, OH_Accumulator }, /* $4a */
|
||||
{ "phk", 1, flNone, OH_Implicit }, /* $4b */
|
||||
{ "jmp", 3, flLabel, OH_JmpAbsolute }, /* $4c */
|
||||
{ "eor", 3, flUseLabel, OH_Absolute }, /* $4d */
|
||||
{ "lsr", 3, flUseLabel, OH_Absolute }, /* $4e */
|
||||
{ "eor", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $4d */
|
||||
{ "lsr", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $4e */
|
||||
{ "eor", 4, flUseLabel, OH_AbsoluteLong }, /* $4f */
|
||||
{ "bvc", 2, flLabel, OH_Relative }, /* $50 */
|
||||
{ "eor", 2, flUseLabel, OH_DirectIndirectY }, /* $51 */
|
||||
@ -140,8 +140,8 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "phy", 1, flNone, OH_Implicit }, /* $5a */
|
||||
{ "tcd", 1, flNone, OH_Implicit }, /* $5b */
|
||||
{ "jml", 4, flLabel, OH_AbsoluteLong }, /* $5c */
|
||||
{ "eor", 3, flUseLabel, OH_AbsoluteX }, /* $5d */
|
||||
{ "lsr", 3, flUseLabel, OH_AbsoluteX }, /* $5e */
|
||||
{ "eor", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $5d */
|
||||
{ "lsr", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $5e */
|
||||
{ "eor", 4, flUseLabel, OH_AbsoluteLongX }, /* $5f */
|
||||
{ "rts", 1, flNone, OH_Rts }, /* $60 */
|
||||
{ "adc", 2, flUseLabel, OH_DirectXIndirect }, /* $61 */
|
||||
@ -156,8 +156,8 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "ror", 1, flNone, OH_Accumulator }, /* $6a */
|
||||
{ "rtl", 1, flNone, OH_Implicit }, /* $6b */
|
||||
{ "jmp", 3, flLabel, OH_JmpAbsoluteIndirect }, /* $6c */
|
||||
{ "adc", 3, flUseLabel, OH_Absolute }, /* $6d */
|
||||
{ "ror", 3, flUseLabel, OH_Absolute }, /* $6e */
|
||||
{ "adc", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $6d */
|
||||
{ "ror", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $6e */
|
||||
{ "adc", 4, flUseLabel, OH_AbsoluteLong }, /* $6f */
|
||||
{ "bvs", 2, flLabel, OH_Relative }, /* $70 */
|
||||
{ "adc", 2, flUseLabel, OH_DirectIndirectY }, /* $71 */
|
||||
@ -172,8 +172,8 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "ply", 1, flNone, OH_Implicit }, /* $7a */
|
||||
{ "tdc", 1, flNone, OH_Implicit }, /* $7b */
|
||||
{ "jmp", 3, flLabel, OH_AbsoluteXIndirect }, /* $7c */
|
||||
{ "adc", 3, flUseLabel, OH_AbsoluteX }, /* $7d */
|
||||
{ "ror", 3, flUseLabel, OH_AbsoluteX }, /* $7e */
|
||||
{ "adc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $7d */
|
||||
{ "ror", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $7e */
|
||||
{ "adc", 4, flUseLabel, OH_AbsoluteLongX }, /* $7f */
|
||||
{ "bra", 2, flLabel, OH_Relative }, /* $80 */
|
||||
{ "sta", 2, flUseLabel, OH_DirectXIndirect }, /* $81 */
|
||||
@ -187,9 +187,9 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "bit", 2, flNone, OH_Immidiate }, /* $89 */
|
||||
{ "txa", 1, flNone, OH_Implicit }, /* $8a */
|
||||
{ "phb", 1, flNone, OH_Implicit }, /* $8b */
|
||||
{ "sty", 3, flUseLabel, OH_Absolute }, /* $8c */
|
||||
{ "sta", 3, flUseLabel, OH_Absolute }, /* $8d */
|
||||
{ "stx", 3, flUseLabel, OH_Absolute }, /* $8e */
|
||||
{ "sty", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $8c */
|
||||
{ "sta", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $8d */
|
||||
{ "stx", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $8e */
|
||||
{ "sta", 4, flUseLabel, OH_AbsoluteLong }, /* $8f */
|
||||
{ "bcc", 2, flLabel, OH_Relative }, /* $90 */
|
||||
{ "sta", 2, flUseLabel, OH_DirectIndirectY }, /* $91 */
|
||||
@ -203,9 +203,9 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "sta", 3, flUseLabel, OH_AbsoluteY }, /* $99 */
|
||||
{ "txs", 1, flNone, OH_Implicit }, /* $9a */
|
||||
{ "txy", 1, flNone, OH_Implicit }, /* $9b */
|
||||
{ "stz", 3, flUseLabel, OH_Absolute }, /* $9c */
|
||||
{ "sta", 3, flUseLabel, OH_AbsoluteX }, /* $9d */
|
||||
{ "stz", 3, flUseLabel, OH_AbsoluteX }, /* $9e */
|
||||
{ "stz", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $9c */
|
||||
{ "sta", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $9d */
|
||||
{ "stz", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $9e */
|
||||
{ "sta", 4, flUseLabel, OH_AbsoluteLongX }, /* $9f */
|
||||
{ "ldy", 2, flNone, OH_Immidiate }, /* $a0 */
|
||||
{ "lda", 2, flUseLabel, OH_DirectXIndirect }, /* $a1 */
|
||||
@ -219,9 +219,9 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "lda", 2, flNone, OH_Immidiate }, /* $a9 */
|
||||
{ "tax", 1, flNone, OH_Implicit }, /* $aa */
|
||||
{ "plb", 1, flNone, OH_Implicit }, /* $ab */
|
||||
{ "ldy", 3, flUseLabel, OH_Absolute }, /* $ac */
|
||||
{ "lda", 3, flUseLabel, OH_Absolute }, /* $ad */
|
||||
{ "ldx", 3, flUseLabel, OH_Absolute }, /* $ae */
|
||||
{ "ldy", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ac */
|
||||
{ "lda", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ad */
|
||||
{ "ldx", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ae */
|
||||
{ "lda", 4, flUseLabel, OH_AbsoluteLong }, /* $af */
|
||||
{ "bcs", 2, flLabel, OH_Relative }, /* $b0 */
|
||||
{ "lda", 2, flUseLabel, OH_DirectIndirectY }, /* $b1 */
|
||||
@ -235,9 +235,9 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "lda", 3, flUseLabel, OH_AbsoluteY }, /* $b9 */
|
||||
{ "tsx", 1, flNone, OH_Implicit }, /* $ba */
|
||||
{ "tyx", 1, flNone, OH_Implicit }, /* $bb */
|
||||
{ "ldy", 3, flUseLabel, OH_AbsoluteX }, /* $bc */
|
||||
{ "lda", 3, flUseLabel, OH_AbsoluteX }, /* $bd */
|
||||
{ "ldx", 3, flUseLabel, OH_AbsoluteY }, /* $be */
|
||||
{ "ldy", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $bc */
|
||||
{ "lda", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $bd */
|
||||
{ "ldx", 3, flUseLabel|flAbsOverride, OH_AbsoluteY }, /* $be */
|
||||
{ "lda", 4, flUseLabel, OH_AbsoluteLongX }, /* $bf */
|
||||
{ "cpy", 2, flNone, OH_Immidiate }, /* $c0 */
|
||||
{ "cmp", 2, flUseLabel, OH_DirectXIndirect }, /* $c1 */
|
||||
@ -251,9 +251,9 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "cmp", 2, flNone, OH_Immidiate }, /* $c9 */
|
||||
{ "dex", 1, flNone, OH_Implicit }, /* $ca */
|
||||
{ "wai", 1, flNone, OH_Implicit }, /* $cb */
|
||||
{ "cpy", 3, flUseLabel, OH_Absolute }, /* $cc */
|
||||
{ "cmp", 3, flUseLabel, OH_Absolute }, /* $cd */
|
||||
{ "dec", 3, flUseLabel, OH_Absolute }, /* $ce */
|
||||
{ "cpy", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $cc */
|
||||
{ "cmp", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $cd */
|
||||
{ "dec", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ce */
|
||||
{ "cmp", 4, flUseLabel, OH_AbsoluteLong }, /* $cf */
|
||||
{ "bne", 2, flLabel, OH_Relative }, /* $d0 */
|
||||
{ "cmp", 2, flUseLabel, OH_DirectIndirectY }, /* $d1 */
|
||||
@ -268,8 +268,8 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "phx", 1, flNone, OH_Implicit }, /* $da */
|
||||
{ "stp", 1, flNone, OH_Implicit }, /* $db */
|
||||
{ "jml", 3, flLabel, OH_AbsoluteIndirect }, /* $dc */
|
||||
{ "cmp", 3, flUseLabel, OH_AbsoluteX }, /* $dd */
|
||||
{ "dec", 3, flUseLabel, OH_AbsoluteX }, /* $de */
|
||||
{ "cmp", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $dd */
|
||||
{ "dec", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $de */
|
||||
{ "cmp", 4, flUseLabel, OH_AbsoluteLongX }, /* $df */
|
||||
{ "cpx", 2, flNone, OH_Immidiate }, /* $e0 */
|
||||
{ "sbc", 2, flUseLabel, OH_DirectXIndirect }, /* $e1 */
|
||||
@ -283,9 +283,9 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "sbc", 2, flNone, OH_Immidiate }, /* $e9 */
|
||||
{ "nop", 1, flNone, OH_Implicit }, /* $ea */
|
||||
{ "xba", 1, flNone, OH_Implicit }, /* $eb */
|
||||
{ "cpx", 3, flUseLabel, OH_Absolute }, /* $ec */
|
||||
{ "sbc", 3, flUseLabel, OH_Absolute }, /* $ed */
|
||||
{ "inc", 3, flUseLabel, OH_Absolute }, /* $ee */
|
||||
{ "cpx", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ec */
|
||||
{ "sbc", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ed */
|
||||
{ "inc", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ee */
|
||||
{ "sbc", 4, flUseLabel, OH_AbsoluteLong }, /* $ef */
|
||||
{ "beq", 2, flLabel, OH_Relative }, /* $f0 */
|
||||
{ "sbc", 2, flUseLabel, OH_DirectIndirectY }, /* $f1 */
|
||||
@ -300,8 +300,8 @@ const OpcDesc OpcTable_65816[256] = {
|
||||
{ "plx", 1, flNone, OH_Implicit }, /* $fa */
|
||||
{ "xce", 1, flNone, OH_Implicit }, /* $fb */
|
||||
{ "jsr", 3, flLabel, OH_AbsoluteXIndirect }, /* $fc */
|
||||
{ "sbc", 3, flUseLabel, OH_AbsoluteX }, /* $fd */
|
||||
{ "inc", 3, flUseLabel, OH_AbsoluteX }, /* $fe */
|
||||
{ "sbc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fd */
|
||||
{ "inc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fe */
|
||||
{ "sbc", 4, flUseLabel, OH_AbsoluteLongX }, /* $ff */
|
||||
};
|
||||
|
||||
|
@ -59,9 +59,9 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "ora", 2, flNone, OH_Immidiate }, /* $09 */
|
||||
{ "asl", 1, flNone, OH_Accumulator }, /* $0a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $0b */
|
||||
{ "tsb", 3, flUseLabel, OH_Absolute }, /* $0c */
|
||||
{ "ora", 3, flUseLabel, OH_Absolute }, /* $0d */
|
||||
{ "asl", 3, flUseLabel, OH_Absolute }, /* $0e */
|
||||
{ "tsb", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $0c */
|
||||
{ "ora", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $0d */
|
||||
{ "asl", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $0e */
|
||||
{ "bbr0", 3, flUseLabel, OH_BitBranch }, /* $0f */
|
||||
{ "bpl", 2, flLabel, OH_Relative }, /* $10 */
|
||||
{ "ora", 2, flUseLabel, OH_DirectIndirectY }, /* $11 */
|
||||
@ -75,9 +75,9 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "ora", 3, flUseLabel, OH_AbsoluteY }, /* $19 */
|
||||
{ "inc", 1, flNone, OH_Accumulator }, /* $1a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $1b */
|
||||
{ "trb", 3, flUseLabel, OH_Absolute }, /* $1c */
|
||||
{ "ora", 3, flUseLabel, OH_AbsoluteX }, /* $1d */
|
||||
{ "asl", 3, flUseLabel, OH_AbsoluteX }, /* $1e */
|
||||
{ "trb", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $1c */
|
||||
{ "ora", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $1d */
|
||||
{ "asl", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $1e */
|
||||
{ "bbr1", 3, flUseLabel, OH_BitBranch }, /* $1f */
|
||||
{ "jsr", 3, flLabel, OH_Absolute }, /* $20 */
|
||||
{ "and", 2, flUseLabel, OH_DirectXIndirect }, /* $21 */
|
||||
@ -91,9 +91,9 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "and", 2, flNone, OH_Immidiate }, /* $29 */
|
||||
{ "rol", 1, flNone, OH_Accumulator }, /* $2a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $2b */
|
||||
{ "bit", 3, flUseLabel, OH_Absolute }, /* $2c */
|
||||
{ "and", 3, flUseLabel, OH_Absolute }, /* $2d */
|
||||
{ "rol", 3, flUseLabel, OH_Absolute }, /* $2e */
|
||||
{ "bit", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $2c */
|
||||
{ "and", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $2d */
|
||||
{ "rol", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $2e */
|
||||
{ "bbr2", 3, flUseLabel, OH_BitBranch }, /* $2f */
|
||||
{ "bmi", 2, flLabel, OH_Relative }, /* $30 */
|
||||
{ "and", 2, flUseLabel, OH_DirectIndirectY }, /* $31 */
|
||||
@ -108,8 +108,8 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "dec", 1, flNone, OH_Accumulator }, /* $3a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $3b */
|
||||
{ "bit", 3, flUseLabel, OH_AbsoluteX }, /* $3c */
|
||||
{ "and", 3, flUseLabel, OH_AbsoluteX }, /* $3d */
|
||||
{ "rol", 3, flUseLabel, OH_AbsoluteX }, /* $3e */
|
||||
{ "and", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $3d */
|
||||
{ "rol", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $3e */
|
||||
{ "bbr3", 3, flUseLabel, OH_BitBranch }, /* $3f */
|
||||
{ "rti", 1, flNone, OH_Rts }, /* $40 */
|
||||
{ "eor", 2, flUseLabel, OH_DirectXIndirect }, /* $41 */
|
||||
@ -124,8 +124,8 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "lsr", 1, flNone, OH_Accumulator }, /* $4a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $4b */
|
||||
{ "jmp", 3, flLabel, OH_JmpAbsolute }, /* $4c */
|
||||
{ "eor", 3, flUseLabel, OH_Absolute }, /* $4d */
|
||||
{ "lsr", 3, flUseLabel, OH_Absolute }, /* $4e */
|
||||
{ "eor", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $4d */
|
||||
{ "lsr", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $4e */
|
||||
{ "bbr4", 3, flUseLabel, OH_BitBranch }, /* $4f */
|
||||
{ "bvc", 2, flLabel, OH_Relative }, /* $50 */
|
||||
{ "eor", 2, flUseLabel, OH_DirectIndirectY }, /* $51 */
|
||||
@ -140,8 +140,8 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "phy", 1, flNone, OH_Implicit }, /* $5a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $5b */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $5c */
|
||||
{ "eor", 3, flUseLabel, OH_AbsoluteX }, /* $5d */
|
||||
{ "lsr", 3, flUseLabel, OH_AbsoluteX }, /* $5e */
|
||||
{ "eor", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $5d */
|
||||
{ "lsr", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $5e */
|
||||
{ "bbr5", 3, flUseLabel, OH_BitBranch }, /* $5f */
|
||||
{ "rts", 1, flNone, OH_Rts }, /* $60 */
|
||||
{ "adc", 2, flUseLabel, OH_DirectXIndirect }, /* $61 */
|
||||
@ -156,7 +156,7 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "ror", 1, flNone, OH_Accumulator }, /* $6a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $6b */
|
||||
{ "jmp", 3, flLabel, OH_JmpAbsoluteIndirect }, /* $6c */
|
||||
{ "adc", 3, flUseLabel, OH_Absolute }, /* $6d */
|
||||
{ "adc", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $6d */
|
||||
{ "ror", 3, flUseLabel, OH_Absolute }, /* $6e */
|
||||
{ "bbr6", 3, flUseLabel, OH_BitBranch }, /* $6f */
|
||||
{ "bvs", 2, flLabel, OH_Relative }, /* $70 */
|
||||
@ -172,8 +172,8 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "ply", 1, flNone, OH_Implicit }, /* $7a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $7b */
|
||||
{ "jmp", 3, flLabel, OH_AbsoluteXIndirect }, /* $7c */
|
||||
{ "adc", 3, flUseLabel, OH_AbsoluteX }, /* $7d */
|
||||
{ "ror", 3, flUseLabel, OH_AbsoluteX }, /* $7e */
|
||||
{ "adc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $7d */
|
||||
{ "ror", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $7e */
|
||||
{ "bbr7", 3, flUseLabel, OH_BitBranch }, /* $7f */
|
||||
{ "bra", 2, flLabel, OH_Relative }, /* $80 */
|
||||
{ "sta", 2, flUseLabel, OH_DirectXIndirect }, /* $81 */
|
||||
@ -187,9 +187,9 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "bit", 2, flNone, OH_Immidiate }, /* $89 */
|
||||
{ "txa", 1, flNone, OH_Implicit }, /* $8a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $8b */
|
||||
{ "sty", 3, flUseLabel, OH_Absolute }, /* $8c */
|
||||
{ "sta", 3, flUseLabel, OH_Absolute }, /* $8d */
|
||||
{ "stx", 3, flUseLabel, OH_Absolute }, /* $8e */
|
||||
{ "sty", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $8c */
|
||||
{ "sta", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $8d */
|
||||
{ "stx", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $8e */
|
||||
{ "bbs0", 3, flUseLabel, OH_BitBranch }, /* $8f */
|
||||
{ "bcc", 2, flLabel, OH_Relative }, /* $90 */
|
||||
{ "sta", 2, flUseLabel, OH_DirectIndirectY }, /* $91 */
|
||||
@ -203,9 +203,9 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "sta", 3, flUseLabel, OH_AbsoluteY }, /* $99 */
|
||||
{ "txs", 1, flNone, OH_Implicit }, /* $9a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $9b */
|
||||
{ "stz", 3, flUseLabel, OH_Absolute }, /* $9c */
|
||||
{ "sta", 3, flUseLabel, OH_AbsoluteX }, /* $9d */
|
||||
{ "stz", 3, flUseLabel, OH_AbsoluteX }, /* $9e */
|
||||
{ "stz", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $9c */
|
||||
{ "sta", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $9d */
|
||||
{ "stz", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $9e */
|
||||
{ "bbs1", 3, flUseLabel, OH_BitBranch }, /* $9f */
|
||||
{ "ldy", 2, flNone, OH_Immidiate }, /* $a0 */
|
||||
{ "lda", 2, flUseLabel, OH_DirectXIndirect }, /* $a1 */
|
||||
@ -219,9 +219,9 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "lda", 2, flNone, OH_Immidiate }, /* $a9 */
|
||||
{ "tax", 1, flNone, OH_Implicit }, /* $aa */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $ab */
|
||||
{ "ldy", 3, flUseLabel, OH_Absolute }, /* $ac */
|
||||
{ "lda", 3, flUseLabel, OH_Absolute }, /* $ad */
|
||||
{ "ldx", 3, flUseLabel, OH_Absolute }, /* $ae */
|
||||
{ "ldy", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ac */
|
||||
{ "lda", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ad */
|
||||
{ "ldx", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ae */
|
||||
{ "bbs2", 3, flUseLabel, OH_BitBranch }, /* $af */
|
||||
{ "bcs", 2, flLabel, OH_Relative }, /* $b0 */
|
||||
{ "lda", 2, flUseLabel, OH_DirectIndirectY }, /* $b1 */
|
||||
@ -235,9 +235,9 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "lda", 3, flUseLabel, OH_AbsoluteY }, /* $b9 */
|
||||
{ "tsx", 1, flNone, OH_Implicit }, /* $ba */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $bb */
|
||||
{ "ldy", 3, flUseLabel, OH_AbsoluteX }, /* $bc */
|
||||
{ "lda", 3, flUseLabel, OH_AbsoluteX }, /* $bd */
|
||||
{ "ldx", 3, flUseLabel, OH_AbsoluteY }, /* $be */
|
||||
{ "ldy", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $bc */
|
||||
{ "lda", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $bd */
|
||||
{ "ldx", 3, flUseLabel|flAbsOverride, OH_AbsoluteY }, /* $be */
|
||||
{ "bbs3", 3, flUseLabel, OH_BitBranch }, /* $bf */
|
||||
{ "cpy", 2, flNone, OH_Immidiate }, /* $c0 */
|
||||
{ "cmp", 2, flUseLabel, OH_DirectXIndirect }, /* $c1 */
|
||||
@ -251,9 +251,9 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "cmp", 2, flNone, OH_Immidiate }, /* $c9 */
|
||||
{ "dex", 1, flNone, OH_Implicit }, /* $ca */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $cb */
|
||||
{ "cpy", 3, flUseLabel, OH_Absolute }, /* $cc */
|
||||
{ "cmp", 3, flUseLabel, OH_Absolute }, /* $cd */
|
||||
{ "dec", 3, flUseLabel, OH_Absolute }, /* $ce */
|
||||
{ "cpy", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $cc */
|
||||
{ "cmp", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $cd */
|
||||
{ "dec", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ce */
|
||||
{ "bbs4", 3, flUseLabel, OH_BitBranch }, /* $cf */
|
||||
{ "bne", 2, flLabel, OH_Relative }, /* $d0 */
|
||||
{ "cmp", 2, flUseLabel, OH_DirectIndirectY }, /* $d1 */
|
||||
@ -268,8 +268,8 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "phx", 1, flNone, OH_Implicit }, /* $da */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $db */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $dc */
|
||||
{ "cmp", 3, flUseLabel, OH_AbsoluteX }, /* $dd */
|
||||
{ "dec", 3, flUseLabel, OH_AbsoluteX }, /* $de */
|
||||
{ "cmp", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $dd */
|
||||
{ "dec", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $de */
|
||||
{ "bbs5", 3, flUseLabel, OH_BitBranch }, /* $df */
|
||||
{ "cpx", 2, flNone, OH_Immidiate }, /* $e0 */
|
||||
{ "sbc", 2, flUseLabel, OH_DirectXIndirect }, /* $e1 */
|
||||
@ -283,9 +283,9 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "sbc", 2, flNone, OH_Immidiate }, /* $e9 */
|
||||
{ "nop", 1, flNone, OH_Implicit }, /* $ea */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $eb */
|
||||
{ "cpx", 3, flUseLabel, OH_Absolute }, /* $ec */
|
||||
{ "sbc", 3, flUseLabel, OH_Absolute }, /* $ed */
|
||||
{ "inc", 3, flUseLabel, OH_Absolute }, /* $ee */
|
||||
{ "cpx", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ec */
|
||||
{ "sbc", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ed */
|
||||
{ "inc", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ee */
|
||||
{ "bbs6", 3, flUseLabel, OH_BitBranch }, /* $ef */
|
||||
{ "beq", 2, flLabel, OH_Relative }, /* $f0 */
|
||||
{ "sbc", 2, flUseLabel, OH_DirectIndirectY }, /* $f1 */
|
||||
@ -300,8 +300,8 @@ const OpcDesc OpcTable_65C02[256] = {
|
||||
{ "plx", 1, flNone, OH_Implicit }, /* $fa */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $fb */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $fc */
|
||||
{ "sbc", 3, flUseLabel, OH_AbsoluteX }, /* $fd */
|
||||
{ "inc", 3, flUseLabel, OH_AbsoluteX }, /* $fe */
|
||||
{ "sbc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fd */
|
||||
{ "inc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fe */
|
||||
{ "bbs7", 3, flUseLabel, OH_BitBranch }, /* $ff */
|
||||
};
|
||||
|
||||
|
@ -59,9 +59,9 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "ora", 2, flNone, OH_Immidiate }, /* $09 */
|
||||
{ "asl", 1, flNone, OH_Accumulator }, /* $0a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $0b */
|
||||
{ "tsb", 3, flUseLabel, OH_Absolute }, /* $0c */
|
||||
{ "ora", 3, flUseLabel, OH_Absolute }, /* $0d */
|
||||
{ "asl", 3, flUseLabel, OH_Absolute }, /* $0e */
|
||||
{ "tsb", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $0c */
|
||||
{ "ora", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $0d */
|
||||
{ "asl", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $0e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $0f */
|
||||
{ "bpl", 2, flLabel, OH_Relative }, /* $10 */
|
||||
{ "ora", 2, flUseLabel, OH_DirectIndirectY }, /* $11 */
|
||||
@ -75,9 +75,9 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "ora", 3, flUseLabel, OH_AbsoluteY }, /* $19 */
|
||||
{ "inc", 1, flNone, OH_Accumulator }, /* $1a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $1b */
|
||||
{ "trb", 3, flUseLabel, OH_Absolute }, /* $1c */
|
||||
{ "ora", 3, flUseLabel, OH_AbsoluteX }, /* $1d */
|
||||
{ "asl", 3, flUseLabel, OH_AbsoluteX }, /* $1e */
|
||||
{ "trb", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $1c */
|
||||
{ "ora", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $1d */
|
||||
{ "asl", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $1e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $1f */
|
||||
{ "jsr", 3, flLabel, OH_Absolute }, /* $20 */
|
||||
{ "and", 2, flUseLabel, OH_DirectXIndirect }, /* $21 */
|
||||
@ -91,9 +91,9 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "and", 2, flNone, OH_Immidiate }, /* $29 */
|
||||
{ "rol", 1, flNone, OH_Accumulator }, /* $2a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $2b */
|
||||
{ "bit", 3, flUseLabel, OH_Absolute }, /* $2c */
|
||||
{ "and", 3, flUseLabel, OH_Absolute }, /* $2d */
|
||||
{ "rol", 3, flUseLabel, OH_Absolute }, /* $2e */
|
||||
{ "bit", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $2c */
|
||||
{ "and", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $2d */
|
||||
{ "rol", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $2e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $2f */
|
||||
{ "bmi", 2, flLabel, OH_Relative }, /* $30 */
|
||||
{ "and", 2, flUseLabel, OH_DirectIndirectY }, /* $31 */
|
||||
@ -108,8 +108,8 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "dec", 1, flNone, OH_Accumulator }, /* $3a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $3b */
|
||||
{ "bit", 3, flUseLabel, OH_AbsoluteX }, /* $3c */
|
||||
{ "and", 3, flUseLabel, OH_AbsoluteX }, /* $3d */
|
||||
{ "rol", 3, flUseLabel, OH_AbsoluteX }, /* $3e */
|
||||
{ "and", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $3d */
|
||||
{ "rol", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $3e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $3f */
|
||||
{ "rti", 1, flNone, OH_Rts }, /* $40 */
|
||||
{ "eor", 2, flUseLabel, OH_DirectXIndirect }, /* $41 */
|
||||
@ -124,8 +124,8 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "lsr", 1, flNone, OH_Accumulator }, /* $4a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $4b */
|
||||
{ "jmp", 3, flLabel, OH_JmpAbsolute }, /* $4c */
|
||||
{ "eor", 3, flUseLabel, OH_Absolute }, /* $4d */
|
||||
{ "lsr", 3, flUseLabel, OH_Absolute }, /* $4e */
|
||||
{ "eor", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $4d */
|
||||
{ "lsr", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $4e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $4f */
|
||||
{ "bvc", 2, flLabel, OH_Relative }, /* $50 */
|
||||
{ "eor", 2, flUseLabel, OH_DirectIndirectY }, /* $51 */
|
||||
@ -140,8 +140,8 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "phy", 1, flNone, OH_Implicit }, /* $5a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $5b */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $5c */
|
||||
{ "eor", 3, flUseLabel, OH_AbsoluteX }, /* $5d */
|
||||
{ "lsr", 3, flUseLabel, OH_AbsoluteX }, /* $5e */
|
||||
{ "eor", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $5d */
|
||||
{ "lsr", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $5e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $5f */
|
||||
{ "rts", 1, flNone, OH_Rts }, /* $60 */
|
||||
{ "adc", 2, flUseLabel, OH_DirectXIndirect }, /* $61 */
|
||||
@ -156,8 +156,8 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "ror", 1, flNone, OH_Accumulator }, /* $6a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $6b */
|
||||
{ "jmp", 3, flLabel, OH_JmpAbsoluteIndirect }, /* $6c */
|
||||
{ "adc", 3, flUseLabel, OH_Absolute }, /* $6d */
|
||||
{ "ror", 3, flUseLabel, OH_Absolute }, /* $6e */
|
||||
{ "adc", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $6d */
|
||||
{ "ror", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $6e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $6f */
|
||||
{ "bvs", 2, flLabel, OH_Relative }, /* $70 */
|
||||
{ "adc", 2, flUseLabel, OH_DirectIndirectY }, /* $71 */
|
||||
@ -172,8 +172,8 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "ply", 1, flNone, OH_Implicit }, /* $7a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $7b */
|
||||
{ "jmp", 3, flLabel, OH_AbsoluteXIndirect }, /* $7c */
|
||||
{ "adc", 3, flUseLabel, OH_AbsoluteX }, /* $7d */
|
||||
{ "ror", 3, flUseLabel, OH_AbsoluteX }, /* $7e */
|
||||
{ "adc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $7d */
|
||||
{ "ror", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $7e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $7f */
|
||||
{ "bra", 2, flLabel, OH_Relative }, /* $80 */
|
||||
{ "sta", 2, flUseLabel, OH_DirectXIndirect }, /* $81 */
|
||||
@ -187,9 +187,9 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "bit", 2, flNone, OH_Immidiate }, /* $89 */
|
||||
{ "txa", 1, flNone, OH_Implicit }, /* $8a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $8b */
|
||||
{ "sty", 3, flUseLabel, OH_Absolute }, /* $8c */
|
||||
{ "sta", 3, flUseLabel, OH_Absolute }, /* $8d */
|
||||
{ "stx", 3, flUseLabel, OH_Absolute }, /* $8e */
|
||||
{ "sty", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $8c */
|
||||
{ "sta", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $8d */
|
||||
{ "stx", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $8e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $8f */
|
||||
{ "bcc", 2, flLabel, OH_Relative }, /* $90 */
|
||||
{ "sta", 2, flUseLabel, OH_DirectIndirectY }, /* $91 */
|
||||
@ -203,9 +203,9 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "sta", 3, flUseLabel, OH_AbsoluteY }, /* $99 */
|
||||
{ "txs", 1, flNone, OH_Implicit }, /* $9a */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $9b */
|
||||
{ "stz", 3, flUseLabel, OH_Absolute }, /* $9c */
|
||||
{ "sta", 3, flUseLabel, OH_AbsoluteX }, /* $9d */
|
||||
{ "stz", 3, flUseLabel, OH_AbsoluteX }, /* $9e */
|
||||
{ "stz", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $9c */
|
||||
{ "sta", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $9d */
|
||||
{ "stz", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $9e */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $9f */
|
||||
{ "ldy", 2, flNone, OH_Immidiate }, /* $a0 */
|
||||
{ "lda", 2, flUseLabel, OH_DirectXIndirect }, /* $a1 */
|
||||
@ -219,9 +219,9 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "lda", 2, flNone, OH_Immidiate }, /* $a9 */
|
||||
{ "tax", 1, flNone, OH_Implicit }, /* $aa */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $ab */
|
||||
{ "ldy", 3, flUseLabel, OH_Absolute }, /* $ac */
|
||||
{ "lda", 3, flUseLabel, OH_Absolute }, /* $ad */
|
||||
{ "ldx", 3, flUseLabel, OH_Absolute }, /* $ae */
|
||||
{ "ldy", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ac */
|
||||
{ "lda", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ad */
|
||||
{ "ldx", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ae */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $af */
|
||||
{ "bcs", 2, flLabel, OH_Relative }, /* $b0 */
|
||||
{ "lda", 2, flUseLabel, OH_DirectIndirectY }, /* $b1 */
|
||||
@ -235,9 +235,9 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "lda", 3, flUseLabel, OH_AbsoluteY }, /* $b9 */
|
||||
{ "tsx", 1, flNone, OH_Implicit }, /* $ba */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $bb */
|
||||
{ "ldy", 3, flUseLabel, OH_AbsoluteX }, /* $bc */
|
||||
{ "lda", 3, flUseLabel, OH_AbsoluteX }, /* $bd */
|
||||
{ "ldx", 3, flUseLabel, OH_AbsoluteY }, /* $be */
|
||||
{ "ldy", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $bc */
|
||||
{ "lda", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $bd */
|
||||
{ "ldx", 3, flUseLabel|flAbsOverride, OH_AbsoluteY }, /* $be */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $bf */
|
||||
{ "cpy", 2, flNone, OH_Immidiate }, /* $c0 */
|
||||
{ "cmp", 2, flUseLabel, OH_DirectXIndirect }, /* $c1 */
|
||||
@ -251,9 +251,9 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "cmp", 2, flNone, OH_Immidiate }, /* $c9 */
|
||||
{ "dex", 1, flNone, OH_Implicit }, /* $ca */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $cb */
|
||||
{ "cpy", 3, flUseLabel, OH_Absolute }, /* $cc */
|
||||
{ "cmp", 3, flUseLabel, OH_Absolute }, /* $cd */
|
||||
{ "dec", 3, flUseLabel, OH_Absolute }, /* $ce */
|
||||
{ "cpy", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $cc */
|
||||
{ "cmp", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $cd */
|
||||
{ "dec", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ce */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $cf */
|
||||
{ "bne", 2, flLabel, OH_Relative }, /* $d0 */
|
||||
{ "cmp", 2, flUseLabel, OH_DirectIndirectY }, /* $d1 */
|
||||
@ -268,8 +268,8 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "phx", 1, flNone, OH_Implicit }, /* $da */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $db */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $dc */
|
||||
{ "cmp", 3, flUseLabel, OH_AbsoluteX }, /* $dd */
|
||||
{ "dec", 3, flUseLabel, OH_AbsoluteX }, /* $de */
|
||||
{ "cmp", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $dd */
|
||||
{ "dec", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $de */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $df */
|
||||
{ "cpx", 2, flNone, OH_Immidiate }, /* $e0 */
|
||||
{ "sbc", 2, flUseLabel, OH_DirectXIndirect }, /* $e1 */
|
||||
@ -283,9 +283,9 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "sbc", 2, flNone, OH_Immidiate }, /* $e9 */
|
||||
{ "nop", 1, flNone, OH_Implicit }, /* $ea */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $eb */
|
||||
{ "cpx", 3, flUseLabel, OH_Absolute }, /* $ec */
|
||||
{ "sbc", 3, flUseLabel, OH_Absolute }, /* $ed */
|
||||
{ "inc", 3, flUseLabel, OH_Absolute }, /* $ee */
|
||||
{ "cpx", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ec */
|
||||
{ "sbc", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ed */
|
||||
{ "inc", 3, flUseLabel|flAbsOverride, OH_Absolute }, /* $ee */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $ef */
|
||||
{ "beq", 2, flLabel, OH_Relative }, /* $f0 */
|
||||
{ "sbc", 2, flUseLabel, OH_DirectIndirectY }, /* $f1 */
|
||||
@ -300,8 +300,8 @@ const OpcDesc OpcTable_65SC02[256] = {
|
||||
{ "plx", 1, flNone, OH_Implicit }, /* $fa */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $fb */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $fc */
|
||||
{ "sbc", 3, flUseLabel, OH_AbsoluteX }, /* $fd */
|
||||
{ "inc", 3, flUseLabel, OH_AbsoluteX }, /* $fe */
|
||||
{ "sbc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fd */
|
||||
{ "inc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fe */
|
||||
{ "", 1, flIllegal, OH_Illegal, }, /* $ff */
|
||||
};
|
||||
|
||||
|
@ -51,7 +51,9 @@ enum {
|
||||
flGenLabel = 0x01, /* Generate a label */
|
||||
flUseLabel = 0x02, /* Use a label if there is one */
|
||||
flLabel = flUseLabel|flGenLabel, /* Generate and use a label */
|
||||
flIllegal = 0x10 /* Illegal instruction */
|
||||
flIllegal = 0x10, /* Illegal instruction */
|
||||
flAbsOverride = 0x20, /* Need a: override */
|
||||
flFarOverride = 0x40 /* Need f: override */
|
||||
};
|
||||
|
||||
/* Forward/typedef for struct OpcDesc */
|
||||
|
Loading…
x
Reference in New Issue
Block a user