aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2023-10-29Fixed bug where reading operand bytecode may stop prematurelyAryadev Chavali
2023-10-29Added some examples to instruction-test for positive/negative literalsAryadev Chavali
2023-10-29Introduced an example source file for all instructionsAryadev Chavali
2023-10-29Auto-fill copyright notice in examples/fib.cAryadev Chavali
2023-10-28Introduce error reporting in asm/mainAryadev Chavali
2023-10-28asm/parser supports all opcodes, introduced parse errorsAryadev Chavali
2023-10-28Ignore comments (using semicolons) in lexerAryadev Chavali
2023-10-28Introduced a column and line for each tokenAryadev Chavali
2023-10-28Added macro to do safe subtractions on a wordAryadev Chavali
2023-10-26Plugged in asm/parser to asm/mainAryadev Chavali
2023-10-26Implemented a rudimentary parser with support for 4 instruction typesAryadev Chavali
2023-10-26Added support in lexer for negative numbersAryadev Chavali
2023-10-26Fixed bug where printing hword of an instruction prints number not hexAryadev Chavali
2023-10-26asm/main now uses TOKEN_STREAM_ATAryadev Chavali
2023-10-26Lexer forces uppercase for symbolsAryadev Chavali
2023-10-26Updated README for targeting VMAryadev Chavali
2023-10-26Makefile now prints dependencies on successful compilationAryadev Chavali
2023-10-26Moved base functions from inst.c to dedicated fileAryadev Chavali
2023-10-26vm/main takes a filename as input to execute bytecodeAryadev Chavali
2023-10-26Auto fill licensesAryadev Chavali
2023-10-26Unified literal for numbers, main program now tokenisesAryadev Chavali
2023-10-25Started working on a parserAryadev Chavali
2023-10-25Separated lexer from main file in asmAryadev Chavali
2023-10-24Wrote lexer for assemblyAryadev Chavali
2023-10-24Removed assertion in darr_read_fileAryadev Chavali
2023-10-23Starting development on assembly languageAryadev Chavali
2023-10-23Make root directory an include path, set #include's properlyAryadev Chavali
2023-10-23Reintroduced example fib.c via examples/ folderAryadev Chavali
2023-10-23Added lib folder for general stuff, introduced as target to MakefileAryadev Chavali
2023-10-23Implemented simple example of a for loop in mainAryadev Chavali
2023-10-23src->vm, Makefile is now a bit more abstracted and pretty coloursAryadev Chavali
2023-10-23Remove unnecessary log messageAryadev Chavali
2023-10-23Added and implemented OP_JUMP_IF_*Aryadev Chavali
2023-10-23Extracted code that performs a jump into its own routineAryadev Chavali
2023-10-23Fixed bug in vm_mov(byte|hword) where registers aren't set properlyAryadev Chavali
2023-10-23Moved macros to extract nth (byte|hword) from a word to base.hAryadev Chavali
2023-10-23Rearrange what is printed in vm_print_allAryadev Chavali
2023-10-23Check for and handle errors when interpreting bytecodeAryadev Chavali
2023-10-23Added an example program fib.cAryadev Chavali
2023-10-23Fixed bugs with ordering of bytes in some operationsAryadev Chavali
2023-10-23Added and implemented OP_PRINT*Aryadev Chavali
2023-10-23Fixed bug where vm_print_program listing for program was incorrectAryadev Chavali
2023-10-22Remove get_opcode_data_typeAryadev Chavali
2023-10-22Coupled some routines together, implemented OP_PLUS_*, -vm_peekAryadev Chavali
2023-10-22Added OP_PLUS_*Aryadev Chavali
2023-10-22Fix bug where negative opcodes lead to invalid bytecode parsingAryadev 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