From: Brian R. <bre...@mu...> - 2015-11-16 08:51:01
|
> So, given that, should I try to port NASM or write my own assembler? My gut instinct would be port something other than Nasm. You're probably going to need to cut several corners and omit various features in order to meet those kinds of memory constraints. Nasm has support for multiple chip sets, multiple output file formats, multiple optimization passes. I suspect if you look around some, you'll find a more minimal assembler (with an appropriate license) that you can use as a jumping-off point. Alternately, start by writing your own assembler that has the absolute minimum number of features that you need, and then build it up to make it more usable until you hit your size limit. b |