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-29
Fixed bug where reading operand bytecode may stop prematurely
Aryadev Chavali
2023-10-29
Added some examples to instruction-test for positive/negative literals
Aryadev Chavali
2023-10-29
Introduced an example source file for all instructions
Aryadev Chavali
2023-10-29
Auto-fill copyright notice in examples/fib.c
Aryadev Chavali
2023-10-28
Introduce error reporting in asm/main
Aryadev Chavali
2023-10-28
asm/parser supports all opcodes, introduced parse errors
Aryadev Chavali
2023-10-28
Ignore comments (using semicolons) in lexer
Aryadev Chavali
2023-10-28
Introduced a column and line for each token
Aryadev Chavali
2023-10-28
Added macro to do safe subtractions on a word
Aryadev Chavali
2023-10-26
Plugged in asm/parser to asm/main
Aryadev Chavali
2023-10-26
Implemented a rudimentary parser with support for 4 instruction types
Aryadev Chavali
2023-10-26
Added support in lexer for negative numbers
Aryadev Chavali
2023-10-26
Fixed bug where printing hword of an instruction prints number not hex
Aryadev Chavali
2023-10-26
asm/main now uses TOKEN_STREAM_AT
Aryadev Chavali
2023-10-26
Lexer forces uppercase for symbols
Aryadev Chavali
2023-10-26
Updated README for targeting VM
Aryadev Chavali
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
[next]