Learning binary file formats (2003)(board.flatassembler.net)
board.flatassembler.net
Learning binary file formats (2003)
https://board.flatassembler.net/topic.php?t=20690
6 comments
> This is not from 2003. The date on the posts is 2018.
The OP likely mistook the posters Join Date for the date it was posted:
> Joined: 16 Jun 2003
The OP likely mistook the posters Join Date for the date it was posted:
> Joined: 16 Jun 2003
A lot of people don't realize this, but macroassemblers are generally quite good at generating arbitrary binary data. Case in point: https://github.com/corkami/pocs/tree/master/mini
[deleted]
fasm is a very good assembler to start with, and I've used it a lot for various things over the years. Unfortunately one of the executable formats it's not able to generate (natively) is the 16-bit segmented protected-mode "NE" format (16-bit Windows), which forced me back to MASM for a recent project.
That said, like these posts show, it is possible to make fasm generate it "byte-by-byte" and perhaps macro-ise it for future use, although I had other constraints at the time which meant MASM was the easier choice.