Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-16 | Fixed examples for changes in lexer | Aryadev Chavali | |
Name assigned to %CONST is the next symbol in stream, not the symbol attached to it. | |||
2024-04-07 | Changed limit for examples/factorial.asm | Aryadev Chavali | |
Did some analysis and found that 21! takes above 64 bit integers to store hence set the limit to 20 instead. | |||
2023-11-29 | Use a limit on $I rather than on $B for examples/fib.asm | Aryadev Chavali | |
2023-11-29 | Easier to read documentation in examples | Aryadev Chavali | |
2023-11-09 | Use constants in examples where possible | Aryadev Chavali | |
Stuff like numeric limits can be codified in constants which act self documenting. | |||
2023-11-04 | Fixed up example comments and some assembly | Aryadev Chavali | |
2023-11-03 | Used more subroutines in fib.asm to make code clearer | Aryadev Chavali | |
Looks way more high level but parses down to a very simple bytecode. However, because of lack of inline code processing, it relies on the call stack quite heavily. With inline labels this would be a much more compact bytecode. | |||
2023-11-03 | Use label features and entry points for examples | Aryadev Chavali | |
2023-11-03 | Made test.asm an example asm program | Aryadev Chavali | |
2023-11-02 | Updated instruction-test example for removal of jump.register | Aryadev Chavali | |
2023-11-01 | Added MALLOC_STACK and SUB to instruction-test example | Aryadev Chavali | |
2023-11-01 | Updated instruction-test example file for new memory management instructions | Aryadev Chavali | |
2023-11-01 | Deleted fib.c as fib.asm replaces it | Aryadev Chavali | |
2023-11-01 | Implemented a factorial program in the assembly | Aryadev Chavali | |
Very cool, easy, and reads well | |||
2023-11-01 | Removed the index printing in fib.asm | Aryadev Chavali | |
2023-11-01 | examples/fib.asm now terminates on a very large bound | Aryadev Chavali | |
This is using the comparators and a jump-if | |||
2023-11-01 | Made an example translation of fib.c to the custom assembly (fib.asm) | Aryadev Chavali | |
2023-10-31 | Moved inst module to lib | Aryadev Chavali | |
As it has no dependencies on vm specifically, and it's more necessary for any vendors who wish to target the virtual machine, it makes more sense for inst to be a lib module rather than a vm module. | |||
2023-10-31 | Changed asm/parser instruction push-reg->push.reg | Aryadev Chavali | |
2023-10-29 | Added some examples to instruction-test for positive/negative literals | Aryadev Chavali | |
Use the push.* instructions to see this. | |||
2023-10-29 | Introduced an example source file for all instructions | Aryadev Chavali | |
Provides calling conventions, ensures parser and lexer are working correctly. Will be updated as more instructions are introduced and supported in the assembler. | |||
2023-10-29 | Auto-fill copyright notice in examples/fib.c | Aryadev Chavali | |
2023-10-23 | Make root directory an include path, set #include's properly | Aryadev Chavali | |
Easier to write includes now just using < with the module name, in comparison to using relative paths. | |||
2023-10-23 | Reintroduced example fib.c via examples/ folder | Aryadev Chavali | |