diff options
Diffstat (limited to 'interpreter.c')
-rw-r--r-- | interpreter.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; |