aboutsummaryrefslogtreecommitdiff
path: root/examples/fib.asm
AgeCommit message (Collapse)Author
2023-11-29Use a limit on $I rather than on $B for examples/fib.asmAryadev Chavali
2023-11-29Easier to read documentation in examplesAryadev Chavali
2023-11-09Use constants in examples where possibleAryadev Chavali
Stuff like numeric limits can be codified in constants which act self documenting.
2023-11-04Fixed up example comments and some assemblyAryadev Chavali
2023-11-03Used more subroutines in fib.asm to make code clearerAryadev 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-03Use label features and entry points for examplesAryadev Chavali
2023-11-01Removed the index printing in fib.asmAryadev Chavali
2023-11-01examples/fib.asm now terminates on a very large boundAryadev Chavali
This is using the comparators and a jump-if
2023-11-01Made an example translation of fib.c to the custom assembly (fib.asm)Aryadev Chavali