diff options
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); |