Skip to content

mdl alpha v7

Compare
Choose a tag to compare
@santiontanon santiontanon released this 26 Jul 03:04
· 580 commits to master since this release

parser support:

  • sjasm: support for extended instructions (e.g. "ld a,(hl++)"), ":" operator, macros with arguments specified in a numeric way, page keyword, allow macros with the same name and different number of arguments, code blocks are now properly relocated into pages using the same assignment algorithm like the original sjasm

optimizer:

  • significantly increased the number of patterns
  • optimizer is robust enough so that automatically generated code by MDL (-asm flag) now compiles and produces working ROMs for most projects (except Glass projects with "section" usage, which is not yet supported)

bugs fixed:

  • jp -> jr pattern range fixed
  • labels not allowed in between code matched by a pattern to prevent unsafe optimizations
  • preserve labels when instructions are removed by an optimization