mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-05 23:31:17 +00:00
Add: proper OPCODE_NOP enum
This commit is contained in:
parent
03b43bf388
commit
a509cc511a
@ -537,7 +537,7 @@ int _6502_GetOpmodeOpbyte ( const int nBaseAddress, int & iOpmode_, int & nOpby
|
||||
*/
|
||||
//iOpcode_ = NUM_OPCODES; // Don't have valid opcodes ... we have data !
|
||||
// iOpcode_ = (int)( pData ); // HACK: pass pData back to caller ...
|
||||
iOpcode_ = 0xEA; // OP_NOP
|
||||
iOpcode_ = OPCODE_NOP;
|
||||
}
|
||||
|
||||
#if _DEBUG
|
||||
|
@ -1050,6 +1050,8 @@ const DisasmData_t* pDisasmData; // If != NULL then bytes are marked up as data
|
||||
OPCODE_JMP_A = 0x4C, // Absolute
|
||||
OPCODE_JMP_NA = 0x6C, // Indirect Absolute
|
||||
OPCODE_JMP_IAX = 0x7C, // Indexed (Absolute Indirect, X)
|
||||
|
||||
OPCODE_NOP = 0xEA, // No operation
|
||||
};
|
||||
|
||||
// Note: "int" causes overflow when profiling for any amount of time.
|
||||
|
Loading…
Reference in New Issue
Block a user