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
Age
Commit message (
Expand
)
Author
2023-10-26
Makefile now prints dependencies on successful compilation
Aryadev Chavali
2023-10-26
Moved base functions from inst.c to dedicated file
Aryadev Chavali
2023-10-26
vm/main takes a filename as input to execute bytecode
Aryadev Chavali
2023-10-26
Auto fill licenses
Aryadev Chavali
2023-10-26
Unified literal for numbers, main program now tokenises
Aryadev Chavali
2023-10-25
Started working on a parser
Aryadev Chavali
2023-10-25
Separated lexer from main file in asm
Aryadev Chavali
2023-10-24
Wrote lexer for assembly
Aryadev Chavali
2023-10-24
Removed assertion in darr_read_file
Aryadev Chavali
2023-10-23
Starting development on assembly language
Aryadev Chavali
2023-10-23
Make root directory an include path, set #include's properly
Aryadev Chavali
2023-10-23
Reintroduced example fib.c via examples/ folder
Aryadev Chavali
2023-10-23
Added lib folder for general stuff, introduced as target to Makefile
Aryadev Chavali
2023-10-23
Implemented simple example of a for loop in main
Aryadev Chavali
2023-10-23
src->vm, Makefile is now a bit more abstracted and pretty colours
Aryadev Chavali
2023-10-23
Remove unnecessary log message
Aryadev Chavali
2023-10-23
Added and implemented OP_JUMP_IF_*
Aryadev Chavali
2023-10-23
Extracted code that performs a jump into its own routine
Aryadev Chavali
2023-10-23
Fixed bug in vm_mov(byte|hword) where registers aren't set properly
Aryadev Chavali
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
[prev]
[next]