Print proper register

This commit is contained in:
Jeffrey Pfau 2013-04-12 02:04:51 -07:00
parent 688af6cdee
commit 6097890251
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ static void _printStatus(struct ARMDebugger* debugger) {
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);