aboutsummaryrefslogtreecommitdiff
path: root/asm
AgeCommit message (Expand)Author
2024-04-14Wrote a new lexer API in C++Aryadev Chavali
2024-04-14Start writing assembler in C++Aryadev Chavali
2024-04-14fix! loops in preprocess_use_blocks iterate to the wrong bound0.0.1Aryadev Chavali
2023-11-29Cleaned up logs in assembler/parserAryadev Chavali
2023-11-29Fixed incorrect free of tokens in error for preprocess_use_blocksAryadev Chavali
2023-11-29Report some stats of the actual program when workingAryadev Chavali
2023-11-29Refactored preprocessor to preprocess_(use|macro)_blocks and process_presultsAryadev Chavali
2023-11-29Refactored presult_t to include a stream pointerAryadev Chavali
2023-11-29Added parse errors for %USE callsAryadev Chavali
2023-11-29Fixed tokenise_string_literalAryadev Chavali
2023-11-29Added function to copy tokensAryadev Chavali
2023-11-29Added TOKEN_PP_USE to lexer with implementationAryadev Chavali
2023-11-11Added string literals in tokeniserAryadev Chavali
2023-11-08Added a preprocessing routine in assemblerAryadev Chavali
2023-11-08Added log in assembler for reading a certain number of bytesAryadev Chavali
2023-11-08Lexer symbols now recognise macro constants and referencesAryadev Chavali
2023-11-06Current work on preprocessorAryadev Chavali
2023-11-05Current work on preprocessor implementationAryadev Chavali
2023-11-03Symbols may now include digits in lexerAryadev Chavali
2023-11-03Removed tabs from VERBOSE logs in asm/main.cAryadev Chavali
2023-11-03Fixed bug where labels were off by oneAryadev Chavali
2023-11-03Refactor assembler to use prog_t structureAryadev Chavali
2023-11-03Added a start address (equivalent to `main`) to assemblerAryadev Chavali
2023-11-02Better logs for assemblerAryadev Chavali
2023-11-02Implemented CALL(_STACK) and RET on the assemblerAryadev Chavali
2023-11-02Made lexer more error prone so parser is lessAryadev Chavali
2023-11-02Made separate tokens for JUMP_ABS and JUMP_STACKAryadev Chavali
2023-11-02Removed instruction OP_JUMP_REGISTERAryadev Chavali
2023-11-02Created a preprocessing unit presult_t and a function to process themAryadev Chavali
2023-11-02Started work on preprocessing jump addressesAryadev Chavali
2023-11-01Implemented MALLOC_STACK and SUB in the assemblerAryadev Chavali
2023-11-01Implemented stack versions of MGET and MSET in assemblerAryadev Chavali
2023-11-01Implemented OP_MSIZE into lexer/parser of ASMAryadev Chavali
2023-11-01Implemented lexer and parser for new memory management instructionsAryadev Chavali
2023-11-01Add MULT to lexer and parser for assemblerAryadev Chavali
2023-11-01Fixed bug where comparators wouldn't be parsed correctlyAryadev Chavali
2023-11-01Clearer VERBOSE messagesAryadev Chavali
2023-11-01Parser now uses updated lexerAryadev Chavali
2023-11-01Lexer now returns more descriptive tokensAryadev Chavali
2023-10-31Allow hex literals for numbersAryadev Chavali
2023-10-31Use standardised signed version of word type from base.hAryadev Chavali
2023-10-31Moved inst module to libAryadev Chavali
2023-10-31asm/main logs are now indented and look prettierAryadev Chavali
2023-10-31Lexer now returns errors on failureAryadev Chavali
2023-10-31parse_word deals with characters nowAryadev Chavali
2023-10-31Changed asm/parser instruction push-reg->push.regAryadev Chavali
2023-10-29Added a "usage" message and colours for assemblerAryadev 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