https://github.com/hlorenzi/customasm
https://github.com/hlorenzi/customasm/wiki
customasm <INPUT-FILES...> [options] <OUTPUT-GROUPS...>
Specify multiple OUTPUT-GROUPS using the – separator.
Examples:
customasm main.asm -f binary -o main.bin -- -f symbols -o symbols.txt
customasm main.asm --iters=3 -f annotated -p -- -f symbols -- -f binary
-q, --quiet
-v, --version
-h, --help
-t, --iters=NUM
-dNAME, --define=NAME
-dNAME=VALUE, --define=NAME=VALUE
Overwrites a constant definition with the given value,
or true
if none is given.--color=on/off
--debug-iters
--debug-no-optimize-static
--debug-no-optimize-matcher
-f, --format=FORMAT
-o, --output=FILENAME
-p, --print
Use the format names below with or without the extra parameters, separated by commas, with no whitespace in between.
Examples:
-f annotated
-f annotated,group:4
-f annotated,base:8,group:3
binary
annotated,base:16,group:2
annotatedbin
Same as: annotated,base:2,group:8
binstr
hexstr
bindump
hexdump
mif
intelhex,addr_unit:8
deccomma
hexcomma
decspace
hexspace
decc
hexc
logisim8
logisim16
addrspan
tcgame,base:16,group:2
#
and prefixes
each group with 0x
or 0b
.tcgamebin
Same as: tcgame,base:2,group:8
symbols
mesen-mlb