aboutsummaryrefslogtreecommitdiff
path: root/assembler.c
AgeCommit message (Collapse)Author
3 daysImplement SIZE_FMT and vec_append_fmtAryadev Chavali
SIZE_FMT gets the size of a cstr with the given sprintf formatted string and arguments using `snprintf`. vec_append_fmt formats a cstr with the given sprintf arguments then appends it to the given vector. This simplifies a little bit of the wordy implementation of the assembler.
3 daysMove system calling code to the endAryadev Chavali
8 daysRefactor assembler to use vec_t instead of bufferAryadev Chavali
Clearer, precise and no double pointers.
2024-12-03asm_write_{init, exit} when asm_translate_nodesAryadev Chavali
2024-12-03Fix errors due to no loopsAryadev Chavali
2024-12-03Wrote an assembler (transpiles brainfuck into assembly code)Aryadev Chavali
Provides: + Transpilation from brainfuck code into intel style assembly + functions to assemble and link code