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:
uz
2011-02-06 16:04:46 +00:00
parent 2056097a91
commit 3b9032a7c4
13 changed files with 502 additions and 123 deletions

View File

@@ -6,7 +6,7 @@
/* */
/* */
/* */
/* (C) 2000-2009, Ullrich von Bassewitz */
/* (C) 2000-2011, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
@@ -219,7 +219,7 @@ void OH_Implicit (const OpcDesc* D)
void OH_Immidiate (const OpcDesc* D)
void OH_Immediate (const OpcDesc* D)
{
OneLine (D, "#$%02X", GetCodeByte (PC+1));
}
@@ -427,7 +427,7 @@ void OH_BitBranch (const OpcDesc* D)
void OH_ImmidiateDirect (const OpcDesc* D)
void OH_ImmediateDirect (const OpcDesc* D)
{
/* Get the operand */
unsigned Addr = GetCodeByte (PC+2);
@@ -441,7 +441,7 @@ void OH_ImmidiateDirect (const OpcDesc* D)
void OH_ImmidiateDirectX (const OpcDesc* D)
void OH_ImmediateDirectX (const OpcDesc* D)
{
/* Get the operand */
unsigned Addr = GetCodeByte (PC+2);
@@ -455,7 +455,7 @@ void OH_ImmidiateDirectX (const OpcDesc* D)
void OH_ImmidiateAbsolute (const OpcDesc* D)
void OH_ImmediateAbsolute (const OpcDesc* D)
{
/* Get the operand */
unsigned Addr = GetCodeWord (PC+2);
@@ -469,7 +469,7 @@ void OH_ImmidiateAbsolute (const OpcDesc* D)
void OH_ImmidiateAbsoluteX (const OpcDesc* D)
void OH_ImmediateAbsoluteX (const OpcDesc* D)
{
/* Get the operand */
unsigned Addr = GetCodeWord (PC+2);
@@ -580,7 +580,7 @@ void OH_JmpAbsoluteIndirect (const OpcDesc* D)
if (NewlineAfterJMP) {
LineFeed ();
}
SeparatorLine ();
SeparatorLine ();
}