diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-04-07 02:35:46 +1000 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-04-07 02:35:46 +1000 |
commit | fbca225d25db812fe7823a8528dff17320cf1c53 (patch) | |
tree | f99d672c7245233814cd038fd683ef8bf4270961 /interpreter.c | |
parent | 4b2952578ece47358960e29825443f77070a7457 (diff) |
commit so I can access it tomorrow.
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; |