LR35902: Switch memory disassembly syntax to rgbds-style
Vicki Pfau vi@endrift.com
Thu, 29 Jun 2017 18:10:15 -0700
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/lr35902/decoder.c
→
src/lr35902/decoder.c
@@ -496,7 +496,7 @@ return 0;
} if (op.flags & LR35902_OP_FLAG_MEMORY) { - strncpy(buffer, "(", blen - 1); + strncpy(buffer, "[", blen - 1); ADVANCE(1); } if (op.reg) {@@ -519,7 +519,7 @@ strncpy(buffer, "-", blen - 1);
ADVANCE(1); } if (op.flags & LR35902_OP_FLAG_MEMORY) { - strncpy(buffer, ")", blen - 1); + strncpy(buffer, "]", blen - 1); ADVANCE(1); } return total;