diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-04-27 11:19:33 +1000 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-04-27 11:19:33 +1000 |
commit | f86d973b2f5318b5e761e2f682c2aa57d61eb0d6 (patch) | |
tree | 1563496942ab0b09ed0ee1e2b549ce78a991ebef /headers/debug.h | |
parent | 83e8a4494741e6257b18267a58fe8ae342e3229f (diff) |
Major progress on interpreter
Diffstat (limited to 'headers/debug.h')
-rw-r--r-- | headers/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/headers/debug.h b/headers/debug.h index cb34dac..4b36710 100644 --- a/headers/debug.h +++ b/headers/debug.h @@ -1,7 +1,7 @@ // debug.h // Various functions useful for use during development. -// Converts a single character to hexadecimal +// Converts a single character to hexadecimal int dCharToNum(char c){ // 0x0 - 0x9 if (c != 0x20 && (c >= 0x30 && c <= 0x39)){ @@ -19,7 +19,7 @@ int dCharToNum(char c){ } } -// Dump a particular page in memory. +// Dump page m from memory to stdout. void dPageDump(short m){ m <<= 8; for(int i = 0; i < 256; i+=16){ |