From f86d973b2f5318b5e761e2f682c2aa57d61eb0d6 Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Thu, 27 Apr 2023 11:19:33 +1000 Subject: Major progress on interpreter --- headers/debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'headers/debug.h') 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){ -- cgit v1.2.3