Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-16 | Implemented vm_print_* routines | Aryadev Chavali | |
Prints each aspect of the vm, and vm_print_all does it all. | |||
2023-10-16 | MOV now uses the stack, removed register member in inst_t | Aryadev Chavali | |
Instead of taking an operand and a register, mov just uses the stack for the operand. Therefore, there's no need for a register member in inst_t. As a result, PUSH_*_REGISTER now uses the operand for the register. | |||
2023-10-15 | Better checking of opcode types | Aryadev Chavali | |
Introduced an enum (opcode_type_t) for the masks and values of each opcode, which allows defining a single enum which checks an opcode by a opcode_type_t. | |||
2023-10-15 | Moved vm_* code to its own file (runtime.(h|c)) | Aryadev Chavali | |