3 ms·
I use fasm for this very use case. It has a wonderful macro language that can be used to programmatically generate binary data on top of being able to emit inst
by emily-c 8y ago
I use fasm for this very use case. It has a wonderful macro language that can be used to programmatically generate binary data on top of being able to emit instructions. It's really cool to see other languages for generating binary files as its an interesting niche to fill.
- kitd 8y agoAgreed. Fresh IDE has a great sample that generates a Mandelbrot image when you "compile" the source file.
- tov_objorkin 8y agoFlatAssembler is amazing. I remember people making fractal images using only preprocessor [1], JVM bytecode compilers and a lot of other cool stuff. Also it is a powerful editor, you can abuse 'file', 'load', 'store' directives to make existing file modifications. [1] https://board.flatassembler.net/topic.php?t=2265 https://board.flatassembler.net/topic.php?t=2265