The goal of this project is to produce assembly code that compiles to an equivalent object using GNU as, as to assembly code that is passed to ASPSX.EXE + psyq-obj-parser.
ASPSX.EXE does not appear to do very much in terms of code optimisation, therefore the transformations ought to be straightforward.
maspsx
supports the following arguments:
--run-assembler
; executemips-linux-gnu-as
--gnu-as-path
; ifmips-linux-gnu-as
isn't on your path, or you want to use a different assembler--no-macro-inc
; do not addinclude "macro.inc"
to output--expand-div
; if you need to expanddiv
,divu
andrem
ops