OP_HALT is its own opcode, fixed some other minor bugs
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
((inst_t){.opcode = OP_PUSH_##TYPE, .operand = D##TYPE(OP)})
|
||||
|
||||
#define INST_MOV(TYPE, OP) \
|
||||
((inst_t){.opcode = OP_MOV_##TYPE, .operand = D##TYPE(OP)})
|
||||
((inst_t){.opcode = OP_MOV_##TYPE, .operand = DWORD(OP)})
|
||||
|
||||
#define INST_POP(TYPE) ((inst_t){.opcode = OP_POP_##TYPE})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user