remove debug print

This commit is contained in:
Yohan Simard 2021-05-20 11:13:49 +02:00
parent 84c51d9446
commit 0e9455b376

View file

@ -41,7 +41,6 @@ void add_instruction(enum instruction_t inst, int param1, int param2, int param3
void write_asm(FILE * file) {
int i = 0;
while (i<MEM_INST_SIZE) {
printf("Writing instruction: %d\n", buffer[i].instruction);
if (buffer[i].instruction == ADD) {
fprintf(file, "ADD %d %d %d\n", buffer[i].param1, buffer[i].param2, buffer[i].param3);
} else if (buffer[i].instruction == NOP) {