Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-21 | Implemented vm routines for OP_XOR_* | Aryadev Chavali | |
2023-10-21 | Implemented vm routines for OP_AND_* | Aryadev Chavali | |
2023-10-21 | Implemented vm routines for OP_OR_* | Aryadev Chavali | |
2023-10-21 | Implemented vm routines for OP_NOT_* | Aryadev Chavali | |
2023-10-21 | Added vm_execute_all which executes an entire program | Aryadev Chavali | |
Handles OP_HALT | |||
2023-10-21 | Switched from floats to halfword | Aryadev Chavali | |
Registers are now just words, with pushing from and moving to registers with specified subtypes just pushing those types into the word registers. That means there are 8 word registers which can act as 16 half word registers, which themselves can act as 64 byte registers. | |||
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 | Moved vm_* code to its own file (runtime.(h|c)) | Aryadev Chavali | |