diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-11-30 14:36:15 +1100 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-11-30 14:36:15 +1100 |
commit | d0f5e175f713a52d76d102780e0b899f3984c416 (patch) | |
tree | cfb4b030b186bf3dd4a155a78a9b232e4d971139 /src/interpreter.c | |
parent | 401a2171b1fa2bcc077934191cc609208368152e (diff) |
overall progress
Diffstat (limited to 'src/interpreter.c')
-rw-r--r-- | src/interpreter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interpreter.c b/src/interpreter.c index d243e67..6dc7178 100644 --- a/src/interpreter.c +++ b/src/interpreter.c @@ -53,7 +53,7 @@ int main(int argc, char *argv[]){ x <<= 8; x += dCharToNum(c) << 4; x += dCharToNum(getc(stdin)); - printf("@%04x:%02x\n", x, Memory[x]); + printf("@%04x:%02x\n", x, GetMemory(x)); } else{ printf("Page %02x", x); |