Age | Commit message (Expand) | Author |
2023-10-22 | Coupled some routines together, implemented OP_PLUS_*, -vm_peek | Aryadev Chavali |
2023-10-22 | Added OP_PLUS_* | Aryadev Chavali |
2023-10-22 | Fix bug where negative opcodes lead to invalid bytecode parsing | Aryadev Chavali |
2023-10-22 | Added runtime errors to virtual machine | Aryadev Chavali |
2023-10-22 | Added and implemented OP_JUMP_(STACK|REGISTER) | Aryadev Chavali |
2023-10-22 | Removed `ret` register | Aryadev Chavali |
2023-10-22 | Added and implemented OP_JUMP_ABS | Aryadev Chavali |
2023-10-22 | Fixed bug in vm_execute_all, if no OP_HALT then program kept going | Aryadev Chavali |
2023-10-22 | Implemented vm_* routines for OP_DUP and vm_execute code | Aryadev Chavali |
2023-10-22 | Use conversion functions for (h)word to and from bytes instead of bit shifting | Aryadev Chavali |
2023-10-22 | Added NUMBER_OF_OPCODES which aids in compilation errors | Aryadev Chavali |
2023-10-22 | Added opcode OP_DUP_* | Aryadev Chavali |
2023-10-22 | Cleaned up inst.c | Aryadev Chavali |
2023-10-22 | Functions which convert (h)words to and from bytes | Aryadev Chavali |
2023-10-22 | Simple program which assembles instructions then executes them | Aryadev Chavali |
2023-10-22 | Fix bug where accessing byte/hword registers > 8 wouldn't work | Aryadev Chavali |
2023-10-22 | When VEROBSE flag is set greater than 0, print traces in vm_execute_all | Aryadev Chavali |
2023-10-22 | Changed formats for vm_print_(stack|program) | Aryadev Chavali |
2023-10-22 | Fix bug where FILE is closed when passing to darr_(write|read) | Aryadev Chavali |
2023-10-22 | Added flag in base.h, VERBOSE | Aryadev Chavali |
2023-10-22 | Added macros for NOOP and HALT | Aryadev Chavali |
2023-10-22 | Changed format of inst_print | Aryadev Chavali |
2023-10-22 | Store the result of OP_POP in the last register as a word | Aryadev Chavali |
2023-10-21 | Implemented vm routines for OP_EQ_* | Aryadev Chavali |
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 | Implemented opcode_as_cstr for NOT,OR,AND,XOR,EQ | Aryadev Chavali |
2023-10-21 | Introduced opcodes for NOT, OR, AND, XOR and EQ | Aryadev Chavali |
2023-10-21 | Cleaned up and used macro magic to shorten the INST_* macros | Aryadev Chavali |
2023-10-21 | Added vm_execute_all which executes an entire program | Aryadev Chavali |
2023-10-21 | Wrote generalised procedures for interpret and assembly | Aryadev Chavali |
2023-10-21 | Helper functions for read/write instructions from darr or FILE* | Aryadev Chavali |
2023-10-21 | Helper darr functions to read/write bytes from FILE * | Aryadev Chavali |
2023-10-21 | Switched from floats to halfword | Aryadev Chavali |
2023-10-16 | Implemented vm_print_* routines | Aryadev Chavali |
2023-10-16 | Added opcode_as_cstr, opcode_type_as_cstr and inst_print | Aryadev Chavali |
2023-10-16 | Added helper functions to read and write bytes from files | Aryadev Chavali |
2023-10-16 | Made a sample program, loaded into VM and executed | Aryadev Chavali |
2023-10-16 | Fixed bug with get_opcode_data_type | Aryadev Chavali |
2023-10-16 | Set opcode after reading parameters in inst_read_byte | Aryadev Chavali |
2023-10-16 | Fixed error with OP_PUSH where bits weren't in the pattern of data_type_t | Aryadev Chavali |
2023-10-16 | MOV and PUSH_*_REGISTER should only need bytes for their operand | Aryadev Chavali |
2023-10-16 | Added functionality to read and write instruction bytecode | Aryadev Chavali |
2023-10-16 | Made OP_HALT the only instruction to have the top byte filled | Aryadev Chavali |
2023-10-16 | MOV now uses the stack, removed register member in inst_t | Aryadev Chavali |
2023-10-15 | Better checking of opcode types | Aryadev Chavali |
2023-10-15 | Remove parameter for INST_*POP | Aryadev Chavali |
2023-10-15 | Set register parameter for inst_t to be a byte | Aryadev Chavali |