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--dont-force-G0
; if you need to pass a non-zero value for-G
to gnu assembler--expand-div
; if you need maspsx to expanddiv
,divu
andrem
ops--no-macro-inc
; do not addinclude "macro.inc"
to output
$gp
related code is experimental