index
:
ovm
asm-rewrite-cpp
master
ARCHIVED - A stack based virtual machine to act as a target for other programming languages
Aryadev Chavali <aryadev@aryadevchavali.com>
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
runtime.c
Age
Commit message (
Expand
)
Author
2023-10-23
Fixed bug where vm_print_program listing for program was incorrect
Aryadev Chavali
2023-10-22
Coupled some routines together, implemented OP_PLUS_*, -vm_peek
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
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
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
Added vm_execute_all which executes an entire program
Aryadev Chavali
2023-10-21
Switched from floats to halfword
Aryadev Chavali
2023-10-16
Implemented vm_print_* routines
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
Moved vm_* code to its own file (runtime.(h|c))
Aryadev Chavali