Print proper register
Jeffrey Pfau jeffrey@endrift.com
Fri, 12 Apr 2013 02:04:51 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/debugger.c
→
src/debugger.c
@@ -42,7 +42,7 @@ for (r = 0; r < 4; ++r) {
printf("%08X %08X %08X %08X\n", debugger->cpu->gprs[r << 2], debugger->cpu->gprs[(r << 2) + 1], - debugger->cpu->gprs[(r << 2) + 1], + debugger->cpu->gprs[(r << 2) + 2], debugger->cpu->gprs[(r << 2) + 3]); } _printPSR(debugger->cpu->cpsr);