This commit is contained in:
Radovan Kofira 2021-01-05 12:16:36 +01:00
parent 4615f188ce
commit 7b95984b49
2 changed files with 1 additions and 4 deletions

View File

@ -2,10 +2,7 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
// initialize the tape with 30,000 zeroes
unsigned char tape[30000] = {0}; unsigned char tape[30000] = {0};
// set the pointer to point at the left-most cell of the tape
unsigned char* ptr = tape; unsigned char* ptr = tape;
void interpret(char* input) { void interpret(char* input) {