forked from pfaure/CrossAssembleur
remove debug print
This commit is contained in:
parent
84c51d9446
commit
0e9455b376
1 changed files with 0 additions and 1 deletions
1
tables.c
1
tables.c
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue