aboutsummaryrefslogtreecommitdiff
path: root/src/runtime.c
AgeCommit message (Expand)Author
2023-10-22Coupled some routines together, implemented OP_PLUS_*, -vm_peekAryadev 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-22Fix bug where accessing byte/hword registers > 8 wouldn't workAryadev 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-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-21Added vm_execute_all which executes an entire programAryadev Chavali
2023-10-21Switched from floats to halfwordAryadev Chavali
2023-10-16Implemented vm_print_* routinesAryadev Chavali
2023-10-16MOV now uses the stack, removed register member in inst_tAryadev Chavali
2023-10-15Better checking of opcode typesAryadev Chavali
2023-10-15Moved vm_* code to its own file (runtime.(h|c))Aryadev Chavali