stack pointer and memsize

This commit is contained in:
inixyz
2023-10-13 23:53:41 +03:00
parent 0c5d5e4b1b
commit 060c0de0f3
2 changed files with 3 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ int main(int argc, char** argv){
}
trv_cpu cpu;
cpu.mem = malloc(mem_size);
cpu.mem = malloc(cpu.mem_size = mem_size);
//file handling
FILE* file = fopen(file_path, "rb");