From fbca225d25db812fe7823a8528dff17320cf1c53 Mon Sep 17 00:00:00 2001 From: alekseiplusplus Date: Fri, 7 Apr 2023 02:35:46 +1000 Subject: commit so I can access it tomorrow. --- interpreter.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'interpreter.c') diff --git a/interpreter.c b/interpreter.c index 0df27ce..82cb9b2 100644 --- a/interpreter.c +++ b/interpreter.c @@ -1,5 +1,5 @@ /* - * interpreter.c is a tool which can be used to interpret 6502 machine code inline. + * interpreter.c WILL BE a tool which can be used to interpret 6502 machine code inline. * Machine code is expected as hexadecimal of length 2 or 6, depending on the instruction. * Note that zero-page addressing is not fully emulated yet; it will still address the zero-page section of memory but the instructions still take an address of length 4. @@ -19,9 +19,7 @@ int charToNum (char c, int mul) { } } -void debug_print(){ - printf("\nacc:\t%x\nX:\t%x\nY:\t%x\nstack:\t%x\nflags:\t%x", acc, X, Y, S, P); -} + int main(){ char c; -- cgit v1.2.3