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
Age
Commit message (
Expand
)
Author
2023-10-15
Implemented OP_PUSH_*_REGISTER in vm_execute
Aryadev Chavali
2023-10-15
Make error TODOs specific to routine (for vm_mov_*)
Aryadev Chavali
2023-10-15
Implemented vm_push_*_register routines
Aryadev Chavali
2023-10-15
Renamed opcodes PUSH_*REG to PUSH_*_REGISTER
Aryadev Chavali
2023-10-15
Rearranged opcodes (switched mov with push_reg)
Aryadev Chavali
2023-10-15
Added instructions to push register values onto the stack
Aryadev Chavali
2023-10-15
Added a register `ret`, a word, which holds the result of any instruction
Aryadev Chavali
2023-10-15
Implemented vm_execute for pop routines
Aryadev Chavali
2023-10-15
Made vm_pop_* routines more uniform by returning a data_t
Aryadev Chavali
2023-10-15
Added instructions for popping differing types
Aryadev Chavali
2023-10-15
Added vm_execute support for mov routines
Aryadev Chavali
2023-10-15
Move push routines outside of vm_execute
Aryadev Chavali
2023-10-15
Added opcodes for MOV and ability for instructions to hold registers
Aryadev Chavali
2023-10-15
Added registers to virtual machine
Aryadev Chavali
2023-10-15
Make push opcodes a specific bit set and add a NOOP opcode
Aryadev Chavali
2023-10-15
Split off instruction structure to its own file
Aryadev Chavali
2023-10-15
Added an instruction setup
Aryadev Chavali
2023-10-15
stack.size -> stack.max
Aryadev Chavali
2023-10-15
Main now loads a stack allocated byte array for VM stack
Aryadev Chavali
2023-10-15
Added a routine to load a pointer as stack memory
Aryadev Chavali
2023-10-15
Changed stack data to be a pointer
Aryadev Chavali
2023-10-15
Split off general types and structures into separate header
Aryadev Chavali
2023-10-15
Changed stack.pointer->stack.ptr
Aryadev Chavali
2023-10-15
Added floats (64 bit floating point) push and pop routines
Aryadev Chavali
2023-10-15
Force big endian when pushing words
Aryadev Chavali
2023-10-15
Add macro for size of a word
Aryadev Chavali
2023-10-15
Added macro constructors for union types
Aryadev Chavali
2023-10-15
Implemented functions to pop a byte and a word
Aryadev Chavali
2023-10-15
Implemented a union type to make vm_push_* routines uniform
Aryadev Chavali
2023-10-15
Added functions to push a byte and a word
Aryadev Chavali
2023-10-15
Defined a simple virtual machine data structure
Aryadev Chavali
2023-10-15
Added some type aliases
Aryadev Chavali
2023-10-15
First commit!
Aryadev Chavali