Age | Commit message (Expand) | Author |
2023-10-23 | Moved macros to extract nth (byte|hword) from a word to base.h | Aryadev Chavali |
2023-10-23 | Rearrange what is printed in vm_print_all | Aryadev Chavali |
2023-10-23 | Check for and handle errors when interpreting bytecode | Aryadev Chavali |
2023-10-23 | Added an example program fib.c | Aryadev Chavali |
2023-10-23 | Fixed bugs with ordering of bytes in some operations | Aryadev Chavali |
2023-10-23 | Added and implemented OP_PRINT* | Aryadev Chavali |
2023-10-23 | Fixed bug where vm_print_program listing for program was incorrect | Aryadev Chavali |
2023-10-22 | Remove get_opcode_data_type | Aryadev Chavali |
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 | Added flag to Makefile to set VERBOSE macro in base.h | Aryadev Chavali |
2023-10-22 | Made a debug and release configuration via flags | 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 a quick tutorial on targeting the virtual machine | 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 |