Skip to content

Commit

Permalink
dsp56000: Fix null pointer bugs in disassembler
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrhacker committed May 20, 2021
1 parent 52e9177 commit 3a04996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/devices/cpu/dsp56000/dsp56000d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static char const* const JJD[] =

static char const* const JJJD[] =
{
"b,a", "a,b", nullptr, nullptr, nullptr, nullptr, nullptr, nullptr,
"b,a", "a,b", "?", "?", "?", "?", "?", "?",
"x0,a", "x0,b", "y0,a", "y0,b", "x1,a", "x1,b", "y1,a", "y1,b",
};

Expand All @@ -35,7 +35,7 @@ static char const* const LLL[] = { "a10", "b10", "x", "y", "a", "b", "ab", "ba"
static char const* const FFF[] = { "m0", "m1", "m2", "m3", "m4", "m5", "m6", "m7" };
static char const* const NNN[] = { "n0", "n1", "n2", "n3", "n4", "n5", "n6", "n7" };
static char const* const TTT[] = { "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7" };
static char const* const GGG[] = { nullptr, "sr", "omr", "sp", "ssh", "ssl", "la", "lc" };
static char const* const GGG[] = { "?", "sr", "omr", "sp", "ssh", "ssl", "la", "lc" };

static char const* const QQQ[] = { "x0,x0", "y0,y0", "x1,x0", "y1,y0", "x0,y1", "y0,x0", "x1,y0", "y1,x1" };

Expand Down

0 comments on commit 3a04996

Please sign in to comment.