diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-04-21 16:12:16 +1000 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-04-21 16:12:16 +1000 |
commit | 83e8a4494741e6257b18267a58fe8ae342e3229f (patch) | |
tree | 001d5094f713118834e9a0fb5313df4cf40ecc7a /headers/debug.h | |
parent | ae800796cdcce21c561bcbfbc96b29efe4d39a0b (diff) |
changed dirs, now testing instructions.
Diffstat (limited to 'headers/debug.h')
-rw-r--r-- | headers/debug.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/headers/debug.h b/headers/debug.h index bb6ba40..cb34dac 100644 --- a/headers/debug.h +++ b/headers/debug.h @@ -33,9 +33,11 @@ void dPageDump(short m){ // Dump CPU values void dStatusDump(void){ - printf(" acc:\t%x\n X:\t%x\n Y:\t%x\nstack:\t%x\nflags:\t%x\n", acc, X, Y, S, P); +printf("\ +..acc:\t%x\tcycles:\t%d\n\ +....X:\t%x\tlength:\t%d\n\ +....Y:\t%x\t...add:\t%x\n\ +stack:\t%x\t.value:\t%x\n\ +flags:\t%x\n\ +", acc, idata.cycles, X, idata.length, Y, idata.add, S, idata.value, P); } - -void dIdataDump(void){ - printf("cycles:\t%d\nlength:\t%d\n add:\t%x\n value:\t%x\n", idata.cycles, idata.length, idata.add, idata.value); -}
\ No newline at end of file |