Added disassembler support for the NMOS 6502 with illegal opcodes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4966 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
/*****************************************************************************/
|
||||
/* */
|
||||
/* opctable.c */
|
||||
/* opctable.c */
|
||||
/* */
|
||||
/* Disassembler opcode description table */
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 2000-2009 Ullrich von Bassewitz */
|
||||
/* Roemerstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
/* (C) 2000-2011, Ullrich von Bassewitz */
|
||||
/* Roemerstrasse 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
/* */
|
||||
/* */
|
||||
/* This software is provided 'as-is', without any expressed or implied */
|
||||
@@ -36,6 +36,7 @@
|
||||
/* da65 */
|
||||
#include "error.h"
|
||||
#include "opc6502.h"
|
||||
#include "opc6502x.h"
|
||||
#include "opc65816.h"
|
||||
#include "opc65c02.h"
|
||||
#include "opc65sc02.h"
|
||||
@@ -45,7 +46,7 @@
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Data */
|
||||
/* Data */
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
@@ -56,7 +57,7 @@ const OpcDesc* OpcTable = OpcTable_6502;
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Code */
|
||||
/* Code */
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
@@ -66,6 +67,7 @@ void SetOpcTable (cpu_t CPU)
|
||||
{
|
||||
switch (CPU) {
|
||||
case CPU_6502: OpcTable = OpcTable_6502; break;
|
||||
case CPU_6502X: OpcTable = OpcTable_6502X; break;
|
||||
case CPU_65SC02: OpcTable = OpcTable_65SC02; break;
|
||||
case CPU_65C02: OpcTable = OpcTable_65C02; break;
|
||||
case CPU_HUC6280: OpcTable = OpcTable_HuC6280; break;
|
||||
@@ -75,4 +77,4 @@ void SetOpcTable (cpu_t CPU)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user