aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2023-10-23Make root directory an include path, set #include's properlyAryadev Chavali
2023-10-23Reintroduced example fib.c via examples/ folderAryadev Chavali
2023-10-23Added lib folder for general stuff, introduced as target to MakefileAryadev Chavali
2023-10-23Implemented simple example of a for loop in mainAryadev Chavali
2023-10-23src->vm, Makefile is now a bit more abstracted and pretty coloursAryadev Chavali
2023-10-23Remove unnecessary log messageAryadev Chavali
2023-10-23Added and implemented OP_JUMP_IF_*Aryadev Chavali
2023-10-23Extracted code that performs a jump into its own routineAryadev Chavali
2023-10-23Fixed bug in vm_mov(byte|hword) where registers aren't set properlyAryadev Chavali
2023-10-23Moved macros to extract nth (byte|hword) from a word to base.hAryadev Chavali
2023-10-23Rearrange what is printed in vm_print_allAryadev Chavali
2023-10-23Check for and handle errors when interpreting bytecodeAryadev Chavali
2023-10-23Added an example program fib.cAryadev Chavali
2023-10-23Fixed bugs with ordering of bytes in some operationsAryadev Chavali
2023-10-23Added and implemented OP_PRINT*Aryadev Chavali
2023-10-23Fixed bug where vm_print_program listing for program was incorrectAryadev Chavali
2023-10-22Remove get_opcode_data_typeAryadev Chavali
2023-10-22Coupled some routines together, implemented OP_PLUS_*, -vm_peekAryadev Chavali
2023-10-22Added OP_PLUS_*Aryadev Chavali
2023-10-22Fix bug where negative opcodes lead to invalid bytecode parsingAryadev Chavali
2023-10-22Added runtime errors to virtual machineAryadev Chavali
2023-10-22Added and implemented OP_JUMP_(STACK|REGISTER)Aryadev Chavali
2023-10-22Removed `ret` registerAryadev Chavali
2023-10-22Added and implemented OP_JUMP_ABSAryadev Chavali
2023-10-22Fixed bug in vm_execute_all, if no OP_HALT then program kept goingAryadev Chavali
2023-10-22Implemented vm_* routines for OP_DUP and vm_execute codeAryadev Chavali
2023-10-22Use conversion functions for (h)word to and from bytes instead of bit shiftingAryadev Chavali
2023-10-22Added NUMBER_OF_OPCODES which aids in compilation errorsAryadev Chavali
2023-10-22Added opcode OP_DUP_*Aryadev Chavali
2023-10-22Cleaned up inst.cAryadev Chavali
2023-10-22Functions which convert (h)words to and from bytesAryadev Chavali
2023-10-22Simple program which assembles instructions then executes themAryadev Chavali
2023-10-22Fix bug where accessing byte/hword registers > 8 wouldn't workAryadev Chavali
2023-10-22Added flag to Makefile to set VERBOSE macro in base.hAryadev Chavali
2023-10-22Made a debug and release configuration via flagsAryadev Chavali
2023-10-22When VEROBSE flag is set greater than 0, print traces in vm_execute_allAryadev Chavali
2023-10-22Changed formats for vm_print_(stack|program)Aryadev Chavali
2023-10-22Fix bug where FILE is closed when passing to darr_(write|read)Aryadev Chavali
2023-10-22Added flag in base.h, VERBOSEAryadev Chavali
2023-10-22Added macros for NOOP and HALTAryadev Chavali
2023-10-22Changed format of inst_printAryadev Chavali
2023-10-22Store the result of OP_POP in the last register as a wordAryadev Chavali
2023-10-21Implemented vm routines for OP_EQ_*Aryadev Chavali
2023-10-21Implemented vm routines for OP_XOR_*Aryadev Chavali
2023-10-21Implemented vm routines for OP_AND_*Aryadev Chavali
2023-10-21Implemented vm routines for OP_OR_*Aryadev Chavali
2023-10-21Implemented vm routines for OP_NOT_*Aryadev Chavali
2023-10-21Implemented opcode_as_cstr for NOT,OR,AND,XOR,EQAryadev Chavali
2023-10-21Introduced opcodes for NOT, OR, AND, XOR and EQAryadev Chavali
2023-10-21Cleaned up and used macro magic to shorten the INST_* macrosAryadev Chavali