7 Commits

Author SHA1 Message Date
Aryadev Chavali
05136fdd25 Fixed examples for changes in lexer
Name assigned to %CONST is the next symbol in stream, not the symbol
attached to it.
2024-04-16 15:38:24 +06:30
Aryadev Chavali
9bf1d123b8 Changed limit for examples/factorial.asm
Did some analysis and found that 21! takes above 64 bit integers to
store hence set the limit to 20 instead.
2024-04-07 03:40:19 +06:30
Aryadev Chavali
fa3ecc0073 Easier to read documentation in examples 2023-11-29 17:00:39 +00:00
Aryadev Chavali
bd6fb54e31 Use constants in examples where possible
Stuff like numeric limits can be codified in constants which act self
documenting.
2023-11-09 08:52:28 +00:00
Aryadev Chavali
dc047fd69b Fixed up example comments and some assembly 2023-11-04 06:40:14 +00:00
Aryadev Chavali
bc4c57b243 Use label features and entry points for examples 2023-11-03 21:27:18 +00:00
Aryadev Chavali
bfa0a1f85c Implemented a factorial program in the assembly
Very cool, easy, and reads well
2023-11-01 18:12:55 +00:00