Implemented the 2 operation functions #t51
This commit is contained in:
@ -19,13 +19,14 @@ typedef struct {
|
||||
TableNode * operand1;
|
||||
TableNode * operand2;
|
||||
int label;
|
||||
int instruction;
|
||||
int index;
|
||||
Instruction * prev;
|
||||
Instruction * next;
|
||||
} Instruction;
|
||||
|
||||
Instruction * start = NULL;
|
||||
Instruction * current = NULL;
|
||||
Instruction * start;
|
||||
Instruction * current;
|
||||
|
||||
|
||||
void emit_binary_op(char* result, char* op, char* arg1, char* arg2);
|
||||
void emit_unary_op(char* result, char* op, char* arg);
|
||||
|
Reference in New Issue
Block a user