rg-asm release notes
The assembler and linker for Atari ST, TT and Falcon. Newest release first.
0.12.10 — 2026-11-30
Fixes binary comparison EQM transforms and lexical scope preservation on labelled DV vector tables.
Bug fixes
- Binary
<and>DVtransforms:EQMtemplates starting with<or>and an operand (such asLIMIT EQM < 5) now expand as binary comparisons rather than unary prefix operators. - Lexical scopes on labelled
DVlines: labelledDVdirectives inside.scopeor!zoneblocks no longer overwrite the active lexical scope, keeping.locallabels resolvable across the table.
0.12.9 — 2026-11-30
Adds o65 relocatable object output for 6502 targets and fixes DV vector-table transforms and lyxass Jaguar CPU flags.
New features
o65relocatable object output: 6502 and Atari Lynx builds can now emito65relocatable object files via--format=o65or a.o65output extension for multi-file linking.
Bug fixes
- Labelled and unary
DVtransforms:DVvector tables now accept a label prefix on the same line, and unaryEQMtransforms such as<and>expand as prefix operators. lyxassJaguar CPU flags:-tgand-tdnow map to--cpu=tomand--cpu=jerry.
0.12.8 — 2026-11-30
Adds lyxass and ca65 CLI compatibility drivers and refines Atari 2600 branch-over-WSYNC scanline tracking.
New features
lyxassCLI compatibility: invokingrg-asmaslyxasstranslates nativelyxassoptions into Atari Lynxlyxassdialect mode with BLL or raw output.ca65CLI compatibility: invokingrg-asmasca65translatesca65command-line options intoca65dialect mode for Atari console targets.
Bug fixes
- 2600 branch-over-
WSYNCscanline tracking: forward branches that jump past an intermediateWSYNCstore now keep their accumulated scanline cycles when checked at the targetWSYNC.
0.12.7 — 2026-11-30
Tightens Atari 2600 scanline budget and ROM bank-overflow diagnostics.
Bug fixes
- 2600 scanline branch-merge and loop-bound accounting:
--warn-page-crossnow preserves fall-through cycle prefixes across branch targets, accumulates prior loop costs across consecutive countdown loops in the same scanline, and disqualifies bounded loop inference if an instruction afterDEX/DEYalters the zero flag beforeBNE. - 2600 reserved and included ROM overflow checks: reserved (
DS) and included binary (INCBIN) data crossing$FFFFnow emit ROM bank-overflow warnings alongside code andDCdata.
0.12.6 — 2026-11-30
Completes DASM macro argument, local label, and diagnostic parity alongside Atari 2600 bank-overflow and loop-bound checks.
New features
- DASM macro arguments and
$-suffixed locals: added{#}macro argument-count substitution alongside{0}and0$–9$local labels. - Atari 2600 bank-overflow checks and loop-trip bounds: added 4K ROM overflow and
$FFFA-$FFFFvector-table collision warnings, exact cycle bounds for constantRESP0positioning loops, and FE, 3F, and F8SC (Superchip).a26corpus tests. - DASM
-E0/-E1/-E2and-Sflags: added--error-format(default,dasm,brief,terse) and wired DASM-E0/-E1/-E2and strict-Shandling.
0.12.5 — 2026-11-30
Deepens Atari 2600 DASM kernel compatibility and fixes ACME zone scoping and anonymous branches.
New features
- DASM kernel expression and directive parity: added square-bracket expression grouping alongside
EQMvector-table transforms (DV),LIST ON/LIST OFFlisting control, value-sorted symbol dumps (-T1), error cleanup (-R), and-MMakefile dependencies for 6502 builds. - Atari 2600 scanline diagnostics and bankswitching: added
--warn-page-crossto flag page-crossing penalties andWSYNCscanlines over 76 cycles, verified with 32K F4 and 8K E0.a26bankswitched ROM tests.
Bug fixes
- ACME zone globals and same-line anonymous branches: ordinary labels inside
!zoneremain visible outside the zone while.locallabels stay isolated, and same-line anonymous branches (- bne -) now resolve their targets.
0.12.4 — 2026-11-30
Added DASM -s symbol-table dumps, &&/|| logical operators, and SET-in-REPEAT parity, alongside lexical scope isolation for 6502 procedures and ACME labelled anonymous branches.
New features
- DASM symbol-table dumps: added
--sym-file=FILEanddasm-s<file>/-s <file>support to emit sorted DASM-style symbol tables. - DASM logical operators and
SET-in-REPEAT: added&&and||expression operators alongside spacelesssym=exprconstant redefinitions insideREPEAT/REPTloops. - Atari 2600 multi-bank
.a26coverage: verified 8K (F8) and 16K (F6) bankswitched ROM layouts using multipleRORGbanks.
Bug fixes
- Isolated lexical
.proc/.scopelabels: ordinary labels defined inside.proc,.scope,.block, and.localblocks no longer collide across separate procedures. - ACME labelled anonymous branches: instructions with a label prefix on the same line as an anonymous branch (such as
loop: bne -) now resolve their+/-targets cleanly.
0.12.3 — 2026-11-30
Added ca65, mads, mac65, acme, and 64tass 6502 dialect modes alongside dasm org-in-rorg and forward-reference echo fixes.
New features
- 6502 assembler dialects: added
--dialect=ca65,mads,mac65,acme, and64tasswith scoped blocks, dialect-specific data encodings, and macro parameter styles. madspseudo-instructions: added automatic expansion for 8-bit and 16-bit move, increment, decrement, and arithmetic pseudo-ops.
Bug fixes
organdRUNinsiderorg:organdRUNnow exitrorgand reset the physical address consistently across macro expansion and pass 1.- Forward-referenced
echoexpressions:echonow evaluates in pass 2 so symbols defined later in the file resolve to their values. - DASM quoted macro arguments and
-f2segments: whitespace-separateddasmmacro calls preserve quoted strings, and--format=dasm-f2emits separate records across non-contiguousorgblocks. - Included-file
ENDcaller tracking:ENDinside an included file now returns to its true caller even after nested includes.
0.12.2 — 2026-11-29
Added Atari 2600, 5200, and 7800 cartridge outputs, a dasm compatibility mode, and several dasm relocation and directive fixes.
New features
- Console cartridge formats: added Atari 2600, 5200, and 7800 ROM outputs (including the 128-byte
.a78header) alongside DASM origin-headered binaries. dasmCLI compatibility: invokingrg-asmasdasmtranslates standard DASM flags intodasmdialect mode.- DASM directives: added
nolist,abort, and expression-evaluatingecho.
Bug fixes
- Relocation and segment tracking:
orginside arorgblock now exits relocation and pads from the physical address,segrestores per-segment counters during macro and conditional expansion, andincdirpaths apply to conditional includes andincbin. alignfill expressions: undefined or malformedalignfill bytes now report an error instead of padding with zeroes.
0.12.1 — 2026-11-29
Added a dedicated dasm dialect mode for Atari 2600, 5200, and 7800 assembly, along with macro argument encoding and TOP/DOP width fixes.
New features
dasmdialect mode: assemble DASM-style 6502 sources with named uninitialized segments, relocated ROM bank origins,subroutinelocal scoping, brace-indexed macros, repeat loops, andprocessorselection.
Bug fixes
- Mixed-encoding includes and macros: unconditional
includefiles and cross-file macro calls between Latin-1 and UTF-8 sources now keep each string literal in its own file's encoding. TOPandDOPoperand width:TOPstays three bytes wide even on zero-page addresses,DOPrejects out-of-range 16-bit operands, and conflicting prefixes or missing operands are rejected instead of silently changing width.
0.12.0 — 2026-11-29
Added Atari 2600, 5200, and 7800 support alongside 6507 and 6502c (SALLY) CPU modes with undocumented NMOS opcodes, plus fixes for 6502 and lyxass includes, repeat blocks, and text encodings.
New features
- Atari 2600, 5200, and 7800 targets and CPUs: added console target presets (
atari2600,atari5200,atari7800) alongside6507and6502c(sally) CPU selection on the command line and via source directives. - Undocumented NMOS 6502 opcodes:
6507and6502cnow assemble the full undocumented NMOS instruction set and its common aliases, while6502stays strictly official-only.
Bug fixes
- Dynamic
includeprovenance and dependencies: conditional and macro-expanded includes now resolve relative binary includes against the included file and appear in dependency output. ENDand nestedREPTcontrol flow:ENDnow escapesREPTloops and skips nested includes until returning to the caller, while nestedREPTblocks keep per-iteration macro-local labels.- 6502 and
lyxassscoping, literals, and encodings: fixed case-sensitivelyxassmacro collisions,::inside comments altering local scope, pre-RUNpadding on labelledRUNlines, bare.errorhandling outsidelyxass, and raw byte preservation in Latin-1 main and included files.
0.11.6 — 2026-11-29
Added a dedicated lyxass dialect mode for Atari Lynx assembly and fixed several 6502 scoping, macro, and preprocessor edge cases.
New features
lyxassdialect mode: assemble Atari Lynx sources usinglyxasssyntax, comments, macros, data directives,.6502/.65sc02/.65c02CPU directives, and Rockwell bit instructions out of the box.- Conditional includes and repeat-block locals:
includedirectives inside conditionals and macros expand in place, and repeat loops isolate their own macro-local labels.
Bug fixes
- 6502 scoping, variables, and edge cases: local labels and
SETvariables re-evaluate cleanly per statement, and legacy comments, tabs, Latin-1 files, andasymbol operands assemble without workarounds. - Included-file
ENDcleanup:ENDinside an included file closes any conditionals opened in that file before returning to the caller.
0.11.5 — 2026-11-28
Fixed GAS-mode macro definitions that end with a standalone numeric label.
Bug fixes
- GAS macro labels: fixed GNU-mode macros ending on a standalone numeric label so the trailing label is preserved cleanly.
0.11.4 — 2026-11-28
Expanded Atari Lynx (lyxass / BLL) assembly compatibility, and fixed 6502 label-difference relocations and coloured diagnostics on included files.
New features
- Atari Lynx (
lyxass/ BLL) compatibility: existing BLL demos and headers now assemble cleanly, with support for angle-bracket includes,SWITCH/CASEandIFD/IFNDblocks, zero-indexed and macro-local labels,RUN/END, and*comments.
Bug fixes
- 6502 label-difference relocations: subtracting two local labels in the same section (such as
dc.w end-start) now encodes a section-relative constant instead of emitting a relocation. - Coloured diagnostics on included files: error and warning snippets now read from the included file named in the diagnostic rather than indexing the top-level source file.
0.11.3 — 2026-11-28
Added colourised terminal diagnostics with TERM=dumb detection, and fixed 6502 conditional expansion defaults, section tracking, instruction sizing, and symbolic relocation addends.
New features
- Colourised terminal diagnostics: assembler and linker diagnostics on interactive terminals now highlight file locations, severity tags, line gutters, and source carets while honouring
NO_COLOR,TERM=dumb,--color=never, and--json.
Bug fixes
- 6502 conditional expansion and symbolic addends:
IFexpansion now honours target default origins, per-section PCs,incbinsizes, and non-zero-page instruction widths, and local ELF relocations resolve symbolicEQUaddends.
0.11.2 — 2026-11-28
Fixed 6502 conditional label visibility, exported offset padding, local ELF relocations, and non-emitting section data output.
Bug fixes
- 6502 conditionals, relocations, and sections:
IFexpressions now see preceding labels, exported ELF symbol offsets includeALIGNand forwardORGpadding, local label references emit ELF relocations when assembling relocatable objects, andZP/BSSsections suppressdcandincbinbyte output.
0.11.1 — 2026-11-28
Expanded Atari Lynx 65SC02 and 6502 support with multi-file linking, editor diagnostics, dependency files, and BLL directives, alongside several 6502 assembler fixes.
New features
- 6502 and Atari Lynx parity: added structure offset counters, zero-page and uninitialised sections, fill bytes on space reservations, multi-file object linking, dependency and cycle reporting, and editor hover, completion, and diagnostics for 6502 sources.
Bug fixes
- 6502 layout and conditionals: fixed indexed-indirect jump sizing, origin padding after string literals, forward and chained equate resolution, and diagnostics for undefined symbols in conditional expressions.
0.11.0 — 2026-11-27
Added MOS 6502, WDC 65C02, and Atari Lynx 65SC02 assembly support, and fixed a non-terminating equate pre-pass loop on Atari Jaguar sources.
New features
- Atari Lynx 65SC02 and 6502 support: assemble standalone 6502, 65SC02, and 65C02 sources with two-pass zero-page narrowing, macro and repeat expansion, per-line cycle listings, and Atari Lynx executable and cartridge ROM outputs.
Bug fixes
- Jaguar equate pre-pass termination: bounded the equate alias pre-pass so duplicate or cyclic equate definitions finish cleanly instead of spinning.
0.10.13 — 2026-11-27
Fixed forward EQU relocation provenance in standalone Jaguar object files and removed the fixed 16-item repair cap in branch relaxation.
Bug fixes
- Forward and chained
EQUaliases in Jaguar objects:--obj=elfon standalone Tom and Jerry files now preserves relocation provenance for equates referenced before their definition or chained through earlier aliases. - Unbounded branch-relaxation polish: the local-minimality pass after alignment shrinking now scales with input length instead of stopping after 16 repairs.
0.10.12 — 2026-11-27
Fixed implicit BSS section alignment when linking with a separate .data VMA.
Bug fixes
- BSS alignment with separate
--data-baseVMA: implicit.bssplacement now aligns againstdata_vma + data_sizeinstead of file-offset padding, preventing misaligned.bsssections in split ROM/RAM links.
0.10.11 — 2026-11-27
Fixed a branch-relaxation non-minimal rung edge case after alignment shrinking and resolved linker segment-base, common-symbol relaxation, and Jaguar entry-address bugs.
Bug fixes
- Branch relaxation after alignment shrink: branch relaxation now runs a local-minimality pass when an
align_paddirective shrinks, ensuring non-minimal branch rungs converge to their shortest encoding. - Linker segment overrides and
SHN_COMMONrelaxation:.bssnow followsdata_vmawhenbss_vmais unset,commonsymbol offsets re-align againstbss_vmaand recompute as.textgrows during relaxation, and Jaguar.jag/.abs/.coffoutputs honour custom entry symbols.
0.10.10 — 2026-11-27
Tightened Atari Jaguar relocation handling and repeat-block diagnostics in standalone object files.
Bug fixes
- Negative
EQUoffsets in Jaguar objects:--obj=elfnow formats signed negative addends (such asOFFSET equ -4inlabel+OFFSET) properly instead of emitting an unsigned 32-bit value. - Relocatable
EQUaliases: equates bound to a local label (such asALIAS equ (second)) now relocate when used indc.lormovei, label differences (end-start) evaluate as constants, and invalid multi-base sums (first+ALIAS) fail with an error. - Unresolved
REPTcounts: undefined or negative counts in JaguarREPTdirectives now report an assembly error instead of silently expanding zero times.
0.10.9 — 2026-11-27
Fixed remaining local-label relocation edge cases in standalone Jaguar object files.
Bug fixes
- Dot labels in Jaguar object files:
--obj=elfon standalone Tom and Jerry files now relocates references to.localdot-prefixed labels instead of treating them as external symbols. - Symbolic offsets on local labels: expressions such as
start+OFFSETusing anEQUconstant now resolve and relocate cleanly in standalone Jaguardc.landmoveioperands.
0.10.8 — 2026-11-27
Updated Atari Jaguar --data-base and --bss-base forwarding for independent absolute segment VMAs.
Bug fixes
- Jaguar
--data-baseand--bss-base: forwarded custom.dataand.bssbase addresses directly as absolute VMAs when linking Jaguar targets.
0.10.7 — 2026-11-27
Fixed Atari Jaguar preprocessing, local-label object relocations, and pipeline hazard warnings.
Bug fixes
- Local labels in Jaguar object files:
--obj=elfon standalone Tom and Jerry files now relocates references to local labels in the same file when linked. - Unresolved
IFconditions: undefined symbols in active JaguarIFdirectives now report an error instead of silently taking theELSEbranch. - Nested repeat blocks in macros:
REPT/ENDRloops inside a Jaguar macro no longer swallow the closingENDM. - Relative
incbinpaths in includes:incbininside an included Jaguar file now resolves relative to that file rather than the top-level source. - Pipeline hazard warnings across labels: labels between adjacent Jaguar instructions no longer suppress delay-slot or hazard warnings.
0.10.6 — 2026-11-26
Expanded Atari Jaguar assembly, linking, and output format support.
New features
- Macros and includes in standalone Jaguar files: Tom and Jerry source files now support
include,incbin, macros, loops, andif/else/endifdirectly. - Jaguar executable formats:
--target=jaguarcan now write.JAG,.ABS, and.COFexecutables via--format, alongside.BIN. - Far branch widening:
--jr-widen-regwidens out-of-range short branches in Tom and Jerry code using a chosen scratch register. - Linking multiple Jaguar object files:
--obj=elfnow resolves external references across standalone Tom and Jerry object files.
Bug fixes
- Bitwise-NOT word masks:
.wmasks using~(such as#~$ff00) no longer trigger false range warnings. - Object label clashes: standalone Jaguar object output no longer clashes with user labels of the same name.
0.10.5 — 2026-11-26
Added .comm and .lcomm common-symbol support in vasm syntax mode and fixed link-time section splitting and PC-relative relaxation for section-anchor relocations.
Improvements
- Enabled
.command.lcommdirectives in vasm syntax mode and added common-symbol.bssallocation and alignment merging in the linker.
Bug fixes
- Rebound section-anchor relocations to their target virtual spans during link-time function splitting and updated PC-relative relaxation to shift named section-anchor addends.
0.10.4 — 2026-11-26
Fixed standalone Jaguar object symbol exports and weak-alias branch relocations.
Bug fixes
- Standalone Jaguar object entry labels:
--cpu=tom --objand--cpu=jerry --objnow export labels defined before anyorgdirective as global section symbols so host objects can link against them. - Weak-alias branch relocation safety: relaxed word branches targeting a
SETalias of a weak-only label now keep a section-relative relocation so a strong symbol of the same name in another object cannot redirect the branch.
0.10.3 — 2026-11-26
Hardened Atari Jaguar RISC assembly and linker-relaxation edge cases.
Bug fixes
- Explicit 56001 CPU selection:
--target=jaguar --cpu=56001now stays on Motorola DSP 56001, while--cpu=dspcontinues to select Jerry on Jaguar targets. - Standalone object output and origin checks: standalone Tom and Jerry assembly now honours
--obj/--obj-formatobject output, rejects backwardorgdirectives below the current address, and errors on unresolveddcbfill expressions. - Mixed-mode alignment, conditionals, and labels: host alignment now precedes trailing block labels, mode directives inside inactive
IF 0arms are ignored, and pre-orglabels at non-zero offsets resolve relative to the host block base. - Linker relaxation safety: word branches targeting a
SETalias of a weak-only label can now widen during relaxation, and objects with folded same-section label differences opt out of size-changing link relaxation.
0.10.2 — 2026-11-26
Marked objects assembled with linker-relaxation support in the ELF header so separate-compilation links can safely relax PC-relative global references.
Improvements
- Marked ELF objects assembled with relaxation enabled so downstream linkers can distinguish relax-safe object files from unrelaxed external objects.
0.10.1 — 2026-11-26
Improved Atari Jaguar Madmac compatibility in mixed-mode 68000 and Tom/Jerry source files.
Bug fixes
- Jaguar mode directives:
--target=jaguarnow acceptsgpu/.gpu(Tom) anddsp/.dsp(Jerry) blocks and closes open blocks at consecutive mode switches or end-of-file. - Mixed-mode labels, macros, and conditionals: exports pre-
orglabels to the 68000 host, defers unresolvedmoveianddc.lhost labels, and expands host macros andIF/ENDIFconditionals inside Jaguar blocks. - Longword-indexed offsets:
loadandstore(r14+d)/(r15+d)now take 1–32 longword offsets (with+0optimising to(r14)/(r15)). - Madmac syntax: added
add/sub/cmpimmediate aliases (addq/subq/cmpq),dcbfill values, and tab-preceded*comments.
0.10.0 — 2026-11-26
Added Atari Jaguar Tom GPU and Jerry DSP RISC assembly in both standalone and mixed-mode source files.
New features
- Standalone Jaguar RISC assembly: assembles Tom GPU and Jerry DSP programs directly into flat binary images with full mnemonic, register alias, condition code, phrase alignment, and cycle listing support.
- Mixed-mode Tom and Jerry blocks: embeds Tom GPU and Jerry DSP kernels inline inside 68000 source files, forwarding host constants and emitting assembled bytes into the active host section.
- Jaguar pipeline hazard warnings: warns when a
MOVEIor branch sits in a jump delay slot, whenMMULTimmediately follows a load, or when twoDIVinstructions run back-to-back.
0.9.49 — 2026-11-25
Fixed weak-symbol handling during word-branch relaxation for SET aliases.
Bug fixes
- Weak-symbol branch relaxation: word branches through a
SETalias now ignore coincident weak labels at the target offset so an unrelated strong override cannot redirect the branch.
0.9.48 — 2026-11-25
Fixed Jaguar section base address resolution, word-branch relaxation through SET aliases, and MiNT GNU as tool-name detection.
Bug fixes
- Absolute Jaguar section bases: custom data and BSS base addresses now resolve to the requested addresses rather than being offset from the text base, and bases below the text base are rejected cleanly.
- Word-branch relaxation through SET aliases: word branches targeting a
SETequate under linker relaxation now resolve to the underlying label at that offset so the linker can widen them past ±32 KB. - MiNT GNU as alias: invoking the assembler as
m68k-atari-mint-asnow selects GNUascompatibility mode.
0.9.47 — 2026-11-24
Added Atari Jaguar flat binary linking and custom section base addresses for linked output.
New features
- Atari Jaguar binary target: links multi-file 68000 assemblies directly into headerless
.BINimages resolved at Jaguar RAM addresses, with no GEMDOS executable header. - Section base overrides: allows linked text, data, and BSS segments to be placed at custom base addresses.
0.9.46 — 2026-11-24
Guarded macro and repeat-block diagnostic handling against capped diagnostic lists during recursive expansion.
Bug fixes
- Recursive macro diagnostic handling: macro and
IRPexpansion passes now bounds-check diagnostic range tracking when the diagnostic buffer has been capped, preventing panics on deeply recursive or malformed macro inputs.
0.9.45 — 2026-11-24
Fixed same-section word branch relocations under --relax so the linker can widen out-of-range bsr.w and bra.w instructions to jsr.l and jmp.l.
Bug fixes
- Same-section word branch widening under
--relax:bsr.wandbra.wtargeting a named non-dot symbol in the same section now emit a named-symbolR_68K_PC16relocation instead of a section-anchor relocation, allowing linker relaxation to widen them when earlier insertions push them past ±32 KB.
0.9.44 — 2026-11-23
Fixed 68020+ full-format PC-relative base displacements so they relocate and stay accurate when linker relaxation shifts later code.
Bug fixes
- 68020+ full-extension PC-relative relocations: full-format PC-relative base displacements (
([bd,pc,Xn])and promoted(d8,PC,Xn)) now emit relocations with the+2extension-word offset when relaxation is enabled, keeping target addresses exact across linker insertions.
0.9.43 — 2026-11-22
Fixed GNU as symlink detection and exposed the GNU as mnemonic suffix toggle on the command line.
New features
- CLI toggle for GNU
asmnemonic suffixes: added--gas-mnemonic-suffixesand--no-gas-mnemonic-suffixesto enable or reject suffixed forms such asmovlfrom the command line.
Bug fixes
- GNU
asprogram-name aliases: invoking the binary asas,gas,as68k, orm68k-linux-gnu-asnow selects GNUasmode (so@-addressing andmovl/movqlsuffixes work as with--dialect=gas).
0.9.42 — 2026-11-21
Honoured explicit disabling of GNU as mnemonic suffix aliases when assembling in GNU as mode.
Bug fixes
- GNU
assuffix override: disabling GNUasmnemonic size-suffix aliases now rejects suffixed forms such asmovleven when GNUasdirectives are active.
0.9.41 — 2026-11-21
Honoured GAS addressing and dialect overrides and decoupled GAS mnemonic suffix parsing from the @-addressing flag.
Bug fixes
- GAS dialect overrides: GNU
ascompatibility mode now honours explicit overrides for@-addressing, mnemonic suffixes, strict dialect checks, and%register prefixes. - Decoupled GAS mnemonic suffixes: GNU
asmnemonic suffix parsing is now controlled independently from@-addressing mode.
0.9.40 — 2026-11-21
Fixed missing end-of-file diagnostics and dropped trailing lines in repeat blocks containing listing directives.
Bug fixes
- Repeat-block listing handling:
REPT,IRP, andREPEATblocks that contain listing directives such asLISTnow continue parsing to their closingENDR/UNTILor report an unterminated block at end-of-file.
0.9.39 — 2026-11-21
Text-matching cleanup for editor navigation and mixed-source scanning.
Improvements
- Text-matching cleanup: streamlined case-insensitive text matching in editor navigation and mixed-source scanning.
0.9.38 — 2026-11-21
Reported unclosed block directives at end-of-file, fixed link-output progress reporting on write failures, and added -mcpu support in GNU as compatibility mode.
Bug fixes
- Unterminated block diagnostics: missing
ENDM,ENDR,UNTIL, orENDC/ENDIFterminators at end-of-file now emit a warning by default (and an error under--strict-dialect) instead of assembling silently. - Accurate link write progress: linking no longer prints a completion checkmark before writing the output executable or symbol file fails.
Improvements
-mcpuin GNUascompatibility mode:-mcpu=<CPU>is now accepted alongside-m<CPU>when invoked as GNUas.
0.9.37 — 2026-11-20
Preserved user-defined macro invocations at column 1 when their names match non-GAS storage aliases.
Bug fixes
- Column-1 macro protection: bare column-1 invocations of user-defined macros named
SPACE,LOC,STRING, orASCIZin Motorola/vasm syntax now expand the macro rather than being forced to a label.
0.9.36 — 2026-11-20
Avoided unnecessary read-capture work during dcb count evaluation in default-zero offset-mode BSS sections.
Internal
- Skip unused
dcbread-capture in offset-mode BSS: expression read-capture is no longer enabled during reserve-count evaluation when an offset-mode BSSdcbdefaults to zero-fill.
0.9.35 — 2026-11-20
Internal code cleanup in mixed-mode scanning, language-server navigation, and command-line option handling.
Internal
- Cleaner iteration: simplified loop traversal in mixed-mode scanning, language-server navigation, and option parsing with no change to assembly output or CLI behaviour.
0.9.34 — 2026-11-19
Hardened assembler parsing, encoding, and JSON reporting against edge-case panics.
Bug fixes
- Safer edge-case handling: replaced remaining unchecked internal unwraps and expects in expression parsing, macro expansion, and JSON diagnostic reporting with explicit fallible checks.
0.9.33 — 2026-11-19
Fixed a layout-relaxation edge case when combining a section label with an absolute equate while PC-relative conversion is disabled.
Bug fixes
- Keep absolute-long for mixed label+equate sums when PC-relative conversion is off: absolute-word value-fold expressions combining a section label with an absolute equate no longer fall through to PC-relative resolution when PC-relative conversion is disabled, preserving matching pass-1 and pass-2 instruction sizing.
0.9.32 — 2026-11-19
Aligned column-1 macro-argument lookahead with standard mnemonic-size splitting.
Bug fixes
- Consistent macro-argument lookahead: column-1 macro calls followed by a single dotted identifier now split mnemonic size suffixes using the same rule as sibling column-1 lookaheads, so non-size dotted tokens are not misclassified as sized instructions.
0.9.31 — 2026-11-18
Added movql mnemonic alias support in GNU as (--dialect=gas) mode.
Improvements
movqlalias in GNUasmode:movqlis now accepted as an alias formoveqwhen assembling with--dialect=gas, matching historical 68k GNUassources.
0.9.30 — 2026-11-16
Hardened CLI option parsing and LSP diagnostics against edge-case panics.
Bug fixes
- Safer edge-case handling: replaced unchecked internal unwraps in LSP register diagnostics and Metacomco option parsing with explicit fallible checks.
0.9.29 — 2026-11-15
Fixed an assembly error where optimised adda.l and movem.l instructions could fail when ds buffers grew past a 32 KB boundary.
Bug fixes
- Stable layout around growing
dsbuffers: whendsor other space-reserving directives expand and push a symbol offset past the 16-bit (±32767) range, optimised instructions such asadda.l #imm,An(folded tolea) andmovem.lnow re-size cleanly instead of failing assembly with a pass-mismatch error.
0.9.28 — 2026-11-14
Faster 680x0 parsing, branch relaxation, and LSP responsiveness on large projects.
Improvements
- Faster assembly throughput: sped up branch relaxation, parsing, and symbol-table tracking on large assembly sources, with measured memory and allocation reductions across the core benchmark suite.
- Standalone 68k fast path: standalone 68000 sources without
includeor DSP directives now skip the inline-DSP include pre-scan. - Responsive LSP: closed
INCLUDEfiles are cached across completion and navigation requests instead of being re-read and re-parsed on every query.
0.9.27 — 2026-11-13
Standalone DSP header diagnostic mapping and nested INCBIN directory precedence.
Bug fixes
- Standalone DSP
--headerdiagnostics: fixed line-offset calculation when a prepended header ends with a newline and clamped boundary diagnostics to the header's last line, preventing out-of-range header line numbers. - Nested
INCBINresolution: confirmed and pinned declaring-subfile-directory precedence before primary-source-directory fallback when both directories contain a matching file.
0.9.26 — 2026-11-12
Equate redefinition consistency, unspaced ! bitwise OR lexing, and accurate diagnostic locations for conditional includes.
Bug fixes
- Equate redefinition: redefining a
-Ddefine orEQUwith a different value now keeps the first value across both passes and reportsalready defined, instead of flipping conditional blocks and failing withconditional execution did not converge. - Unspaced
!bitwise OR: expressions likea!bwithout spaces now lex!as bitwise OR (|) instead of part of an identifier, while trailing!in symbol names (e.g.DONE!:) still works. - Conditional include diagnostics: errors inside an
if-guardedincludenow report the included file's path and line rather than a remapped location in the root file.
0.9.25 — 2026-11-11
Expression evaluation in command-line defines, and automatic include fallback for out-of-tree builds.
Improvements and bug fixes
- Expressions in -D defines:
-Dand--definevalues now evaluate constant arithmetic expressions. Values do not have to be bare integers; arithmetic, bitwise operators, parentheses, and all standard radices are accepted across 68k and DSP modes. - Out-of-tree include and incbin fallback: when building from another directory,
includeandincbindirectives in subfiles now fall back to the primary source file's directory, allowing out-of-tree builds to assemble without manual-Iflags. - Makefile dependencies: generated depfiles correctly list all nested includes and binary assets found via the directory fallback, and emit
-MPphony targets.
0.9.24 — 2026-11-10
Quick-immediate range checking, and a fix to how the assembler scans for macros and DSP blocks.
Improvements and bug fixes
- ADDQ and SUBQ immediate range check:
ADDQandSUBQnow report an error for an immediate outside 1 to 8. Before, such values assembled silently as a different number:#9as#1, and#0or#256as#8. Source with those values now fails to assemble. - Macro and DSP-block scan uses the full dialect settings: the pre-scan for user macros and inline DSP blocks read only the star-comment setting and ignored the dialect's other comment and lexer settings, including
|,#,/and$. It now uses each dialect's complete settings.
0.9.23 — 2026-11-10
Fixed four option-parity defects across standalone DSP and mixed-target assembly.
Bug fixes
- DSP define literals: standalone DSP
-Dvalues now accept the same%,0b/0B,$,0x/0X, signed, and decimal literals as 68k assembly. - DSP header diagnostics: when
--headeris used, diagnostics now keep their body line, and errors in the header name the header file, for headers with or without a trailing newline. - Inline DSP path maps and dependencies: embedded DSP56001 blocks now honour
--path-mapand list included files in terminal, depfile, and JSON dependency output. - Clustered short options: short options combined in one token, such as
-qDNAME=VALUE, now keep their command-line order, so a later define overrides an earlier one.
0.9.22 — 2026-11-08
Command-line flag ordering fixes, standalone DSP driver parity, and unified define parsing.
Improvements and bug fixes
- Flag ordering: mixing short and long flags (
-W/--warn,-D/--define,-I/--include) now strictly preserves command-line order, allowing later flags to override earlier ones reliably. - Standalone DSP driver parity: standalone DSP assembly now supports path mapping, headers, equate files, dependency generation, and terminal progress indicators matching 68k mode.
- Symbol define parsing: bare
-Dflags now default to1across both 68k and DSP modes and accept hex, binary, and decimal integer literals.
0.9.21 — 2026-11-07
Empirical expression operator precedence alignment for MADMAC, Lattice, Alcyon, and GST ASM dialects.
Improvements and bug fixes
- MADMAC expression precedence: aligned expression evaluation in the MADMAC dialect to strict left-to-right evaluation, matching authentic Atari Corp
MAC.PRGexecution under emulator and Atari's official documentation (1 + 2 * 3evaluates to 9,1 << 2 + 1 * 3evaluates to 15). - Lattice, Alcyon, and GST ASM precedence: updated Lattice C ASM, Alcyon AS68, and GST ASM dialects to the shift-binding precedence model, matching authentic
ASM.TTPandAS68.TTPoutput under emulator where shifts bind tighter than addition.
0.9.20 — 2026-11-06
Fixed a mixed 68k/DSP56001 assembly case where a conditional guard could be checked before an embedded DSP block's payload size was known.
Bug fixes
- A conditional guard that depends on the size of an embedded DSP56001 block is now evaluated against the block's settled payload, so a valid
IF/ELSEarm assembles instead of failing with an operand error. - Errors in the settled host code are still reported, so the change does not mask invalid 68k instructions.
0.9.19 — 2026-11-05
Reduced memory allocations and improved assembly throughput across the core encoder, mixed-target 68k/DSP router, and Language Server Protocol server.
Performance
- Mixed-target host condition tracking: replaced full-source conditional replay with incremental host-state tracking and single-pass fragment parsing when routing mixed 68k and DSP56001 assembly files.
- Parser and pass-2 encoding: stored zero-to-two instruction operands inline without heap allocation, added an empty-table fast path for
.setstrstring macro lookups, and streamed instruction lowering directly when scheduling is disabled. - Pure-68k preprocessing and LSP responsiveness: replaced per-line heap string allocations in the 68k/DSP block scanner and LSP linter with stack-buffered ASCII checks, pre-filtered static LSP completion tables by prefix, and buffered LSP standard output frames.
0.9.18 — 2026-11-05
Peephole optimisation control under standard OPT O-.
Improvements and bug fixes
- Peephole optimisation under OPT O-: in-source
OPT O-(andOPT ~OALL) in the Vasm and Devpac dialects now suppresses statement-level peephole rewrites (CMP/OR/EOR #0,DntoTST, andMOVE #0,AntoSUBA.L), matching--no-opt-sizewithout requiring non-standard flags.
0.9.17 — 2026-11-04
Refined dialect auto-detection precision, ColdFire addressing diagnostics, and heterogeneous 68k/DSP macro validation.
Improvements and bug fixes
- EasyRider dialect auto-detection: refined marker detection under
--dialect=autoso that incidental comment mentions or string literals containingER68_ASSdo not trigger EasyRider mode, preserving Motorola/VASM operator precedence unless authentic author signatures, directives, or equates are present. - ColdFire ISA addressing: verified ColdFire index scale factors respect architecture capabilities, supporting brief extension word index scale factors
*1,*2, and*4across all ColdFire ISAs on non-FPU targets, and scale factor*8on ColdFire targets equipped with an FPU (such as Firebee); invalid scales (*0,*3, etc.) are rejected as operand errors. - Mixed-target 68k macro validation: embedded DSP compute blocks (
dsp ... enddsp) inside 68k macro definitions are explicitly diagnosed with a clear error, preventing silent hoisting.
0.9.16 — 2026-11-04
Improved terminal stream fidelity, mixed-target CPU stack management, and CLI option validation.
Improvements and bug fixes
- Standard error output stream interactivity is now queried independently from standard output, ensuring
--color=autoand progress animations properly disable when stderr is redirected to a file or pipe. - Closing an in-file DSP block (
.56001) with a host architecture directive (.68000) now correctly balances the host CPU stack, preventing CPU state leaks and underflows. - Target-specific DSP options (
--format,--org-p,--org-x,--org-y,--entry-symbol) are now diagnosed with an error when assembling 68k source files instead of being silently ignored. - Windows drive letters and paths are preserved accurately when formatting diagnostic locations in structured JSON output.
- Label prefixes separated from directives by whitespace and colons (e.g.
label : pushcpu) are now recognised across directive parsing and origin tracking. - Added support for VASM-compatible
-depend=liststdout dependency output.
0.9.15 — 2026-11-03
Improved 68k/DSP mixed-target assembly, origin tracking, and diagnostic accuracy.
Improvements and bug fixes
- Statements starting with 68k branch and control mnemonics (
blo,bhs,jbra,moves,movec,jbsr) are correctly assembled as host code rather than DSP block openers. - Diagnostic line numbers and warning coordinates across mixed 68k/DSP files map accurately to the original source.
- DSP origin tracking now supports label-prefixed
pushcpuandpopcpudirectives. - JSON output for mixed-target DSP warnings now includes structured diagnostic kind and location metadata.
0.9.14 — 2026-11-03
Added support for GAS-style fused address-register size suffixes.
Improvements and bug fixes
- Normalised GAS fused address-register mnemonics with size suffixes (
subal,subaw,addal,addaw,moveal,moveaw,cmpal,cmpaw) in GNU as compatibility mode.
0.9.13 — 2026-11-03
Improved push/pop instruction lowering, register validation, and common symbol handling.
Improvements and bug fixes
PUSHandPOPinstructions support general addressing modes while rejecting invalid operands, immediate destinations, and register pairs.- Inactive conditional register aliases in
PUSH/POPoperands and 68020+ indexed modes are diagnosed as unresolved. - Forward references to common symbols (
.comm,.lcomm) with names matching control registers resolve cleanly.
0.9.12 — 2026-11-03
Improved dependency generation options and argument normalisation.
Improvements and bug fixes
- Command line argument normalisation handles detached dependency and flag options when supplied at the start of argv.
- Short version and dependency mode flags (
-V,-M) are evaluated consistently across native and compatibility modes.
0.9.11 — 2026-11-02
Improved conditional assembly, branch handling, EasyRider text conversion, and Language Server Protocol support.
Bug fixes
- Inactive conditional register aliases are now reported as undefined instead of being assembled as a stale address register. This includes aliases passed through macros and the common indirect, indexed, and displacement addressing forms.
- Branches keep the target that was in scope where they were written, even if the same name is later reassigned with
SETin another section. - EasyRider
SETSTRstrings and character literals now convert UTF-8 text to the Atari ST character set. Escape sequences still pass through unchanged. - Other parser fixes: directive-like names can be used as labels before conditional markers, and macros can be named
MENDorENDM. Operand-taking directives such asdc.l .endifcontinue to treat.endifas a local label operand.
Language Server Protocol support
- Closing a parent file no longer clears diagnostics for an included file that remains open.
- CPU-selection arguments such as
CPU 68000no longer appear as document symbols. - Completion now handles emoji and other wide Unicode characters correctly, and includes symbols from open included files.
- Cycle counts are no longer shown on hover when the same source line appears more than once, avoiding a count from the wrong occurrence.
0.9.10 — 2026-11-02
Improved compatibility flag handling and dependency generation.
Improvements and bug fixes
- Compatibility mode now rejects bare
-DEPENDand-DEPFILEflags when invoked without an argument, rather than treating them as empty symbol definitions. - Dependency file generation in link mode correctly honours
-MFand--depfilewhen combined with--depend=make. - Command line argument normalisation handles detached dependency options across the supported flag set.
0.9.9 — 2026-11-01
Improved mixed-target DSP diagnostics and editor assistance.
Improvements and bug fixes
- DSP warnings now honour
-wand-Werrorconsistently in terminal, JSON, and error-file output. - Embedded DSP includes resolve relative to the host file that contributed each DSP source line.
- LSP hover now supports ABCD, SBCD, and NBCD; LSP completion includes ELSEIF; LSP document symbols no longer misclassify END, MOVEC, or FMOVE as labels.
0.9.8 — 2026-10-31
Improved mixed-target assembly, structured output accuracy, and editor path handling.
Improvements and bug fixes
- Defined constants marked for export remain available to embedded DSP assembly blocks.
- JSON reports primary 680x0 artifacts by the selected output format, even when a custom filename uses a DSP-looking extension.
- Diagnostics after a prepended header now retain the original source file and line for transformed-source and end-of-file errors.
- Windows file URIs preserve drive-letter, relative-path, and UNC forms during editor path conversion.
0.9.7 — 2026-10-30
Improved conditional assembly, dependency reporting, and editor navigation.
Improvements and bug fixes
- Conditional expressions in the relevant legacy dialect now handle list search and indexed selection with
::. - Quoted string assignments inside macro definitions are recognised correctly in that dialect.
- File-size expressions in loop conditions and source-relative paths in included files retain their intended context in the tested dialects.
- Dependency output remains valid JSON when requested together with JSON reporting, and linked output dependency files include prerequisites from multiple source files.
- Editor symbol detection preserves dotted branch operands. Additional listing and source directives are recognised at the start of a line.
- Mixed-target assembly uses one date and time for its routing and final output.
0.9.6 — 2026-10-27
Added OPSYN opcode and directive synonyms alongside Lattice and Metacomco assembler directives. Turned unknown instructions into fatal errors by default, added immediate and ColdFire addressing checks, and improved scoping across conditionals, repeats, and includes.
New features
- Opcode and directive synonyms: added
OPSYNsupport for aliasing instructions and directives. - Heritage assembler directives: added
COMMandLCOMMstorage reservations in the Lattice assembler dialect,GETsource inclusion, and listing control directives.
Improvements and bug fixes
- Unknown mnemonic enforcement: unrecognized instructions now stop assembly with an error by default, with
--lenientavailable for legacy code sweeps. - Immediate range validation: out-of-range byte, word, and long immediates now raise range errors while preserving Devpac 1/2 truncation compatibility.
- Branch promotion controls: widened short branches now respect
-Werror=branch-rangeand-Werror. - ColdFire addressing diagnostics: diagnosed unsupported index scale
*8on ColdFire (index scale factor is restricted to 1, 2, or 4; scale factor*8is rejected under--strict) and enabled FPU dispatch when.cpu coldfireis selected in source. - Conditional and repeat scoping: kept macros, register aliases, synonyms, and local label
IFD/IFNDchecks properly scoped across conditional branches, forward-referencedREPTblocks, and conditional includes. - EasyRider string expressions: added concatenation and character/list indexing to
SETSTR. - DSP multi-space truncation warning: warned when flat single-space DSP outputs omit non-empty X or Y memory spaces.
- Listing relocation markers: cycle listings now mark relocatable displacements with
'to distinguish placeholders from resolved offsets.
0.9.5 — 2026-10-25
Added GNU Make dependency file generation and command-line compatibility, exposed dependencies in structured output, and added heritage path substitution with Atari TOS drive-letter fallback.
New features
- Make dependency tracking: added
-MD,-MMD,-MF <file>, and-MPoptions (along with assembler compatibility flags-depend=makeand-depfile=<file>) to generate Makefile-compatible dependency rules with phony targets and canonical forward slashes. - Dependency inspection: added
--list-dependenciesand-Mto list or print Makefile rules directly, and included dependencies per assembled file in--jsonoutput. - Heritage path mapping: added
--path-map <from>=<to>for path substitution, and added automatic TOS drive-letter fallback to resolve legacy include directives across search paths.
0.9.4 — 2026-10-22
Improved branch and jump sizing across two-pass assembly, expanded EasyRider SETSTR expression support, and hardened mixed-mode DSP macro detection across included files and conditionals.
Improvements and bug fixes
- Branch and jump sizing: preserved word branch sizing when an external declaration resolves to an equate later in the same file, and kept word-sized absolute jump operands stable when targeting wide forward equates.
- EasyRider string and list expressions: added support for parenthesized
SETSTRsub-expressions, the:byte and list index operator, and raw Atari ST non-ASCII characters inside list interpolations. - Mixed-mode DSP macro detection: tracked user macros across included files, conditional assembly blocks, and
undefmacdirectives so user macros nameddspare distinguished from DSP block openers. - DSP JSON output reporting: tagged primary DSP
.binoutputs asdspin--jsonmode when not assembling raw binary output.
0.9.3 — 2026-10-20
Fixed jump and subroutine sizing so branches optimize cleanly without leaving extra padding. Expanded EasyRider assembler compatibility with string expressions and cleaner directive handling.
New features
- EasyRider string building:
SETSTRcan now join multiple strings and expressions into a single symbol.
Improvements and bug fixes
- Branch sizing:
jmpandjsrinstructions now shrink to short branches where possible without leaving gaps between passes. - Label safety: EasyRider directives like
MODULandMAC_BUFFLonly activate in EasyRider mode, so they won't clash with label names in Devpac or vasm code. - Dialect detection: source files written for EasyRider are now recognized automatically from their macro definitions.
0.9.2 — 2026-10-19
Added the EasyRider Macro Assembler dialect (bringing heritage coverage to 24 dialects), recognized German Quelltext (.q) and macro (.mac) source files, and fixed clr An opcode generation.
New features
- EasyRider dialect: full support for Andreas Borchard's EasyRider Macro Assembler, targeting DRI object output.
- Heritage file extensions: recognized
.q(Quelltext) and.macsource files across all assembly workflows.
Improvements and bug fixes
clr Andiagnostic gating:clr.w Anandclr.l Anemit a CPU availability warning on 68000, and are rejected as illegal syntax under--strict(except in RMAC and MADMAC dialects where they cleanly synthesize tosuba).- DSP block detection: local labels like
.dspare no longer mistaken for mixed-mode DSP blocks. - Live editor diagnostics: diagnostics now lint unsaved open buffers and immediately clear resolved errors when files are fixed or closed.
- LSP position accuracy: fixed cursor, hover, and symbol offset alignment for tabs and multi-byte characters.
- Autocompletion & navigation: local label suggestions are now restricted to the current subroutine, and "find references" scans across included files.
0.9.1 — 2026-10-18
Hardened Language Server Protocol (LSP) scope isolation, Atari ST calling convention register classification, and symbol outline parsing.
Bug fixes
- Atari ST and VBCC calling convention register classification: classified data register d2 and address register a2 as callee-saved in completion metadata, adhering to the Atari ST fastcall ABI.
- Fastcall global symbol and local label resolution: preserved global scope for single-at fastcall symbols while maintaining local label scoping for double-at PhxAss symbols.
- Colonless dot-local label support: recognized colonless dot-local labels in document outlines and symbol navigation.
- Local label scope isolation: isolated local label lookups strictly to their parent function scope without cross-function fallback.
- Equate and macro scope boundary exclusion: prevented column-zero equates and macros from interrupting local label scopes.
0.9.0 — 2026-10-18
Added Language Server Protocol (LSP) mode for real-time editor integration, diagnostics, and code intelligence. Hover inspection provides base execution cycle estimates across 68000–68060, and interactive navigation supports symbol outlines, jump-to-definition, and autocompletion.
New features
- Language Server Protocol support: added
--lspcommand-line flag andlspsubcommand running a Language Server Protocol server over stdio for real-time document synchronization and diagnostics reporting. - Cycle timing and condition codes on hover: hovering supported 680x0 instructions displays base execution cycle estimates across MC68000, MC68020/030, and MC68040/060 along with condition code register (CCR) effects.
- Document symbols outline: provides hierarchical symbol trees in editors, categorising sections, equates, macros, entry points, and local labels.
- Definition and reference navigation: supports jump-to-definition and find-references across local symbols, equates, and included files.
- Context-aware autocompletion: suggests 680x0 mnemonics, assembler directives, hardware registers, and active symbols based on cursor context.
- Real-time diagnostic linting: flags immediate value overflows for byte and word operations as well as register typos.
0.8.9 — 2026-10-12
Fixed handling of legacy end-of-file markers in included assembly sources. The tested NUL and DOS EOF cases now resume the including file correctly.
Bug fixes
- End-of-file markers stop their own source file before includes are expanded, preserving the following instructions in the parent file in the tested cases.
0.8.8 — 2026-10-09
Mixed-mode assembly documentation, updated tooling branding, and expanded DSP quality assurance coverage.
Improvements
- Mixed-mode assembly documentation: updated user documentation, command-line guides, and reference specifications to formally standardise on mixed-mode assembly terminology for in-file 680x0 and DSP56001 code.
- DSP quality assurance verification: added automated test suites covering DSP56001 arithmetic, parallel move encodings, hardware loop nesting, and mixed-mode wire packaging.
0.8.7 — 2026-10-09
Routing of DSP warnings and diagnostics to error logs and comprehensive CLI acceptance coverage.
Bug fixes
- DSP diagnostics file logging: warnings and errors encountered during DSP assembly are now appended to diagnostic log files specified by
--errors, matching the behaviour of host 68k assembly diagnostics.
Improvements
- Command-line interface verification: added test coverage for option combinations across container targets, processor models, dialect selections, optimization toggles, and warning controls.
0.8.6 — 2026-10-08
Structured DSP parameters and diagnostics in machine-readable JSON reports, paired CLI options, and schema validation alignment.
New features
- Structured DSP reporting in JSON mode:
--jsonoutput now reports resolved DSP target output kinds (dsp:lod,dsp:p56, etc.) and active dialect (asm56000), echoes DSP command parameters (format,org_p,org_x,org_y,entry_symbol), classifies DSP artifacts asdsp, and routes DSP warnings and errors to structureddiagnosticswith source file and line locations while keeping stderr silent. - Paired CLI flags: added explicit enable and disable pairs for optimisation, relocations, symbols, and code generation flags (
--opt-reorder/--no-opt-reorder,--pic/--no-pic,--relax/--no-relax,--strip/--no-strip,--sym-locals/--no-sym-locals, and ColdFire--cf-*/--cf-no-*).
Bug fixes
- JSON schema validation alignment: added
no_emitand optional DSP fields to the documented schema definition, ensuring machine-readable output conforms to schema validation.
0.8.5 — 2026-10-07
Deprecation of legacy DSP directives and verification across processor switching combinations.
Deprecations
- Legacy DSP block directive deprecation:
dspandenddspdirectives now emit diagnostic deprecation warnings in favor of.56001 ... .68000orpushcpu 56001 ... popcpu.
Improvements
- Multi-target directive verification: verified combinations of memory space origins across 3 memory spaces, CPU stack state restoration, and dialect compatibility across 3 dialects (RMAC, VASM, and MADMAC).
0.8.4 — 2026-10-07
Scoped origin isolation and persistent location counters across heterogeneous processor blocks.
New features
- Scoped multi-target origin isolation: host 68k
ORGdirectives and coprocessor memory spaces remain strictly isolated so that coprocessorORGdirectives set DSP space origins without modifying host section offsets or preceding host origins. - Persistent DSP location counters: multi-block heterogeneous DSP assembly maintains persistent
P:,X:,Y:, andL:location counters across blocks in the same file, resuming assembly at the previous block's counter when an explicit origin is omitted. - Scoped origin state stacking:
pushcpuandpopcpusave and restore memory space origins on an internal stack, preventing nested target blocks from altering outer target layout upon returning.
0.8.3 — 2026-10-07
Stack-based processor state switching and extended multi-target syntax for heterogeneous 680x0 and DSP56001 assembly.
New features
- Processor state push and pop: added
pushcpuandpopcpudirectives for scoped CPU state management, allowing temporary target switches to 68020, 68030, ColdFire, or DSP56001 and restoring the previous processor context with balanced stack unwinding. - Numeric CPU switching: added support for direct numeric processor directives (
.56001,.68000,.68030) andpushcpu 56001alongsidedsp ... enddspblocks in multi-target assembly.
0.8.2 — 2026-10-05
Fine-grained alignment control for inline DSP microkernels, supporting continuous multi-segment binary generation.
Improvements
- Heterogeneous DSP alignment suppression: added the
noevenoption to heterogeneousdspdirectives (e.g.dsp packed, noeven), allowing suppression of automatic 68k word alignment when emitting contiguous multi-segment DSP streams.
0.8.1 — 2026-10-05
Hermetic execution and architectural isolation across 68000 and DSP assembly pipelines, enabling repeatable in-memory builds and test isolation.
Reliability
- Hermetic pipeline execution: assembly, equated symbol files, macro definitions, listings, and diagnostics run through isolated filesystem and environment ports, ensuring tests and tool invocations avoid global host interference.
0.8.0 — 2026-10-05
Multi-target support for Motorola DSP56001 assembly alongside 680x0. Adds standalone DSP assembly, binary and object output formats, in-file heterogeneous assembly (dsp ... enddsp) for inline Falcon DSP kernels, and bidirectional symbol and structure sharing between 68030 host and DSP code.
New features
- Standalone DSP56001 assembly: added
--cpu=56001(withdsp,dsp56k, and56kaliases) and automatic source detection for.s56,.p56, and.asm56files. - DSP output formats: added support for 9 DSP output formats via
--format: Motorola ASCII text (lod),a56ASCII (out), Brainstorm multi-segment binary (p56), raw flat binary (bin), structured binary (dsp), Motorola COFF Load/Absolute (cld), Motorola COFF Relocatable (cln), and embeddable C (c/h) and ASM (inc/s) tables. - In-file heterogeneous assembly: embedded
dsp ... enddspblocks in 680x0 sources assemble inline DSP routines directly into 68k sections with configurable wire formats (packed3-byte words,unpacked4-byte words, orbootstrapheader) and automaticevenalignment. - Cross-architecture symbol and structure sharing: host 68k
EQU/SETconstants and macros are inherited in DSP blocks, and DSP labels are exported to 68k equates. Added word-addressedRSRESET/RSdirectives anddsp_import_structscaling for 68k data structures.
0.7.20 — 2026-10-03
Support for numeric local labels in GNU as (--dialect=gas) and compiler-generated inline assembly sources, and clean handling of reusable local label references.
New features
- Numeric local labels: numeric labels (
1:,2:) and backward/forward references (1b,1f) are now supported in GNU as (--dialect=gas) and compiler-generated inline assembly sources.
0.7.19 — 2026-10-03
Addresses written as the sum of two names that are both defined further down the file now take the compact program-counter-relative form instead of failing the assembler's own layout check.
Bug fixes
- Addresses written as a sum of two later-defined names take the compact form: an address like a structure offset plus a data label, with both names defined further down, stayed in its widest absolute form while the final emit folded it to the shorter program-counter-relative form — the sizing model and the shipped bytes disagreed and the build was refused. Such sums now size against the compact form, verified in the assembler's relaxation test suite, while sums involving imports or undefined names keep the wide form.
0.7.18 — 2026-10-03
Data blocks sized by a variable that is given a new value further down the file now keep the size they were assembled with instead of failing the assembler's own layout check.
Bug fixes
- Data blocks sized by a counter that is reassigned later keep their assembled size: a data block whose size names a variable that changes value further down — a macro stamping filler words from a scratch counter, for example — was re-measured at the end of the file, shrinking it after the layout was fixed, and the build was refused. Such blocks now keep the size they were assembled with, verified in the assembler's relaxation test suite.
0.7.17 — 2026-10-03
A zero displacement written as a product with zero is now a constant in both sizing passes, so sources using that shape build instead of failing the assembler's own layout check.
Bug fixes
- A zero displacement spelled as a product with zero folds in both passes: a displacement like
stride*0stayed unresolved through the first sizing pass when the stride was not defined yet, so the compact form it folds to was never recorded — the final emit shed a word the layout was sized against and the build was refused. Such products now fold to zero in both passes, verified in the assembler's relaxation test suite.
0.7.16 — 2026-10-03
Two more silent mis-sizing classes closed in the layout engine: imported names that the same file goes on to define now fold to their compact form like any forward label, and data reservations whose length is computed from other symbols can no longer scramble a neighbouring reservation. Sources with these two shapes that previously failed the assembler's own layout check now build.
Bug fixes
- Imported names defined later in the same file fold to the compact form: a name brought in as an import but then defined in the same source stayed in its widest addressing form while the final emit folded it — the sizing model and the shipped bytes disagreed and the build was refused. Such names now size against their definition the way a forward label does in the assembler's relaxation test suite, while names that stay imported keep the wide form.
- Computed data reservations no longer overwrite their neighbours: a reservation whose length is computed from symbols (and comes out as zero on the first pass) records no layout of its own, so the size update meant for it could land on an unrelated reservation sharing the same address and erase it. Size updates now find their own reservation or do nothing.
0.7.15 — 2026-10-01
Branches to numeric local labels and FPU branch instructions now size and place correctly — three silent mis-assembly classes closed, and the layout self-checks now cover the positions those classes escaped through. Branch sizing now also accounts for the padding that org/rorg and alignment directives insert, so a branch whose span crosses one of those pads sizes against the layout the bytes actually ship at.
Bug fixes
- Numeric local labels track the relaxed layout: a label like
1:at the end of a region kept its pre-relaxation address, so a branch to it (bra 1f) could be emitted two bytes short of its target with no error reported. Numeric labels now move with the layout, and the final layout check compares them too — the drift that used to ship silently is a build failure. - Forward branches to numeric labels relax:
bra.s 1fand friends now size against the completed numeric-label list like any named target. - FPU branches join branch relaxation: the word/long choice for
FBccwas outside the sizing model entirely, so a lengthened span could disagree with the final layout — silently when the target was a numeric label at a region boundary. Both forms verified byte-identical against the reference assembler (vasm 2.0e) on the branch-sizing fixtures. - Branches spanning
org/rorgpadding size against the real gap: a branch crossing one or more origin pads could be emitted two bytes short — or sized longer than needed — because the padding was invisible to the sizing model. Every padding form now participates in branch sizing, verified byte-identical against the reference assembler (vasm 2.0e) on the new padding fixtures, including the minimal landing across a pad. - Branches spanning alignment padding size against the real pad: a
cnop/alignment directive between a branch and its target is now measured the same way the final layout measures it, including when the pad itself grows as branch sizes settle. A grown alignment span that used to land two bytes off is verified byte-identical against the reference assembler (vasm 2.0e) on the alignment fixtures, and a span the reference assembler over-sizes converges to the true minimum. - A section following an initial
orgkeeps its symbols aligned with its bytes: content placed before the firstorgused to be counted twice between the symbol table and the emitted output, so the two disagreed about where later labels lived. The two now agree, verified byte-identical against the reference assembler. - Empty macros contribute zero bytes to the layout: an empty macro invocation could record phantom length, shifting everything sized after it.
- Equates over a span track the relaxed layout:
size equ end-start— the standard way to measure a span of code — kept its pre-relaxation value when the span grew, and the final layout check refused the build. Differences of two labels (or of the location counter and a label) now re-derive at the relaxed layout, verified byte-identical against the reference assembler (vasm 2.0e) on the equate fixtures. - Branches to fixed addresses relax when growth demands it: a branch to a literal address (
bra $40) kept the size recorded at its first measurement; growth before it could push the address out of that form's range with nothing re-checking. Such branches now re-size against the completed layout, verified byte-identical against the reference assembler (vasm 2.0e) on the literal-target fixture. - Backward references re-shrink when the layout allows: a
jmp/jsror indexed operand measured against an early, inflated layout could be locked into its largest form even after the layout settled smaller. These now settle at the smallest form the final layout justifies — a far jump table indexed(d8,PC,Xn)recovers its compact form, verified byte-identical against the reference assembler (vasm 2.0e) on the indexed fixture. - An undefined PC-indexed target holds the form the linker can patch: an unresolved
move.w label(pc,d0.w),d0reserved the widest indexed form during sizing, but the final emit has no wider PC-relative field a relocation can write — the two disagreed and the layout check refused the build. The sizing model now holds the brief form the relocation path ships. - A branch to a literal address settles at the smallest form the final layout allows: a forward
bra $100behind items that grow kept the size of its first measurement even after that growth narrowed the distance into the short form's range, so the sizing model and the final emit disagreed and the build was refused. Literal targets now settle at the least size the finished layout justifies. - A macro call between a call and its target no longer mis-pins the branch: a colon-free macro invocation (
.mymac) expands to real bytes at encode time, but the branch-to-next check could not see it and pinned ajsrto its word form while the sizing model correctly chose the short one — the build was refused. The check now treats a macro call as the code it expands to. - A branch whose target sits across
rorgpadding in a later section span stays minimal: when branch growth before the padding moved the branch closer to a target pinned by therorg, the sizing engine measured the stale, pre-compensation distance and chose a larger form than the shipped layout needs — and the layout check refused the build. The padding compensation now applies across section spans as it does within one, verified on the relaxation test suite's padding fixtures.
Reliability
- The final layout check now covers section sizes as well as every label: a section that comes out a different length than the layout the branches were sized against fails the build instead of shipping.
- Padding participates in the layout self-checks: origin and alignment pads are derived from the same layout the checks prove minimal, so a pad that disagrees with the shipped layout is a build failure rather than a silent shift.
- Branch sizing grows to the correct form in one pass: an internal sizing step could stop one form short of the required one for far backward references, turning a valid program into a build refusal; the step now walks to the fitting form directly, verified on the production executables used for testing.
- The sizing cross-check now generates programs spanning the full directive set: the randomized layout harness covers numeric labels, literal targets, FPU branches, PC-indexed operands, alignment and origin padding, section round trips, equates and macro calls across two CPU generations and both output formats, and requires two independent sizing engines to agree on every generated program — the four fixes above are its finds.
0.7.14 — 2026-09-30
Branch sizing now happens in one pass over a recorded layout, with the assembler's own layout invariants executed as build-time checks — output verified byte-identical across the assembly corpus.
Reliability
- Layout post-conditions are executed: after the final encode, every emitted branch displacement is read back and checked against the size it shipped at, and the shipped layout is proven locally minimal — an internal sizing inconsistency is now a build failure instead of a silently widened field.
- Branch relaxation cannot refuse on default settings: the round limit is derived from the input itself (a converging layout cannot exceed it); an explicit round cap remains available and reports itself when exhausted.
- Forward-referenced equates resolve: an equate whose expression reads symbols defined later in the source (including across includes) is resolved after the first pass instead of being silently skipped.
Fidelity
- Label-minus-constant and label-plus-constant absolute operands (pointing at the word before a handler, or just past one) size identically to their bare-label spellings.
- Equates that read the location counter (
label EQU *-4) and label differences in immediates (#table-base) track the final layout the way the previous multi-pass loop did — verified byte-identical on the assembly corpus. - Structure-offset addressing with a zero offset (
field(a5)where the field offset is zero) and far PC-relative indexed operands on 68020+ targets size from the completed symbol table. - Branches across a section switch reserve the form the linker needs, and jump-to-next-instruction keeps its fall-through spelling while call-to-next keeps the word form a real call requires.
Performance
- Single-pass sizing: the front end runs once; relaxation is arithmetic over a recorded layout, with span positions in logarithmic time and rounds that visit only what grew — measured at roughly one visit per growth on a 220k-line cascade.
- The round limit is structural: derived from the input's own sizing range, so raising it is never needed for a converging source.
0.7.13 — 2026-09-26
Fixes mis-assemblies of register aliases in addressing modes, branches to keyword-named symbols, and nondeterministic object output.
Bug fixes
- Register aliases in pre-decrement and post-increment addressing: Register equates used as address registers (
input EQUR a3, thenmove.b -(input),d6) resolve to the aliased register instead of reading as negative-displacement expressions. - Branch instructions targeting keyword-named symbols: Branch instructions with offsets targeting symbols named after directives (
bsr set+4,bra equ+8) assemble as branches rather than being parsed as equate definitions. - Deterministic object output: Symbol table ordering in DRI and Pure C object file generation is now deterministic across build runs.
0.7.12 — 2026-09-23
Strict literal MOVEM preservation under non-optimizing mode.
Improvements
- Strict literal MOVEM assembly: Gated the single-register
MOVEM -> MOVEpeephole optimization behind its own size-optimization switch (active by default in the standard optimization profiles). Under--no-opt-size(-O0), explicitMOVEM.L <ea>,Rninstructions assemble verbatim as0x4CDxwithout automatic folding toMOVE.L, enabling exact round-trip fidelity for disassembled source code.
0.7.11 — 2026-09-23
Fixes the glued Devpac define flag so the name keeps the case you typed.
Bug fixes
- Glued Devpac defines keep their spelling:
-eFOO=7now definesFOO, matching the separated-e FOO=7form. Previously the glued form lower-cased the name tofoo, so the two spellings of the same flag disagreed.
0.7.10 — 2026-09-20
Fixes memory indirect addressing parsing when PC is used as base with an index register.
Bug fixes
- Memory indirect PC-base addressing: Correctly parses
([0,PC,An])and related memory indirect forms withPCbase and an index register.
0.7.9 — 2026-09-20
Allows PC-relative destination operands on CMPI and clarifies the TST address register diagnostic.
Bug fixes
- CMPI with PC-relative destinations: Emits no warning on legal
CMPIinstructions reading PC-relative memory destinations (e.g.cmpi.b #$10,-4(PC)). - TST address register diagnostic: Clarified that only byte size (
TST.B An) is unencodable, while word and long sizes are supported on 68020+.
0.7.8 — 2026-09-17
Expands branch relaxation pass budget for large files and improves diagnostic messaging.
Bug fixes
- Branch relaxation budget: Increased default pass limit so large listings assemble without requiring
--opt-relax-passes. - Relaxation diagnostic: Clearly reports pass limits and the
--opt-relax-passes=<N>override flag upon exhaustion. - Zero-pass relaxation refusal: Refuses
--opt-relax-passes=0with a diagnostic rather than emitting unverified layouts.
0.7.7 — 2026-09-17
Refines TST address register checks against the declared target CPU architecture.
Bug fixes
- CPU-aware TST validation: Silences 68000-only warnings when assembling for 68020+ targets with
.cpu 68020.
0.7.6 — 2026-09-13
Rejects shift and rotate counts that have no immediate encoding instead of silently assembling the wrong bytes.
Bug fixes
- Shift and rotate immediate bounds: Immediate counts outside 1..8 are rejected with an error rather than silently truncated to 3 bits.
0.7.5 — 2026-09-12
Added --summary flag (summary tables now off by default), display control flags (--color, --ascii, --banner), and graceful broken pipe handling on stdout.
Features
- Summary tables off by default (
--summary): the section size and cycle total tables are now omitted unless--summaryis passed on interactive stderr;--functionsalso enables the per-function breakdown. - Display control flags:
--color <auto|always|never>(honoursNO_COLOR),--asciifor plain ASCII table borders, and--banner <logo|line|none>for masthead selection.--color=alwayskeeps ANSI colour and boxed listings when piped into a pager such asless -R.
Bug fixes
- Broken stdout pipe: exits 0 instead of panicking when stdout is piped into
headorless.
0.7.4 — 2026-09-09
Added .prgflags directive support for TOS executables.
Features
- PRG flags directive (
.prgflags): Added.prgflags <expr>directive support, allowing source assembly to set the PRG flags in the generated.prg/.tosheader.
0.7.3 — 2026-08-26
Test-infrastructure only: the shipped assembler is unchanged.
Improvements
- The test suite's scratch directories now remove themselves; the helper behind 44 tests never deleted them, leaving 177,488 on the build host.
- No assembler behaviour is affected — the change is confined to the test suite.
0.7.2 — 2026-08-25
Minor test suite hardening for deterministic non-terminal resolution.
Improvements
- Summary display precedence tests now resolve terminal capabilities explicitly.
0.7.1 — 2026-08-21
More floating-point coverage, a size-optimisation fix, and linker fixes for cases that could previously assemble or link to the wrong bytes. Default dialect output is unchanged.
New features
FScc,FDBcc, andFTRAPccnow recognise and encode all 32 condition predicates, completing the FPU condition-code surface.- Added a library option so callers that re-assemble their own listings can control instruction alignment independently of the selected dialect.
- Raw
#{$w0,$w1,$w2}FPU immediates now also accept the 12-byte packed (.p) form, matching the packed listings produced for round-trip verification.
Bug fixes
- Invalid raw
#{$...}floating-point immediates are now rejected instead of being silently dropped; previously the bytes after the instruction could be misaligned. --no-opt-sizenow keepsCMPA.L #n,Anlong as written; it was the one size transform that still fired with size optimisation disabled.- Same-section PC-relative references are now recomputed by the linker when
--relaxis used, fixing cases where a function could resolve to a point inside itself. - Expressions used as displacements now relocate correctly instead of turning into zero when they involve a symbol difference.
- A BSS section that references an external symbol now produces an error instead of silently dropping the reference.
- An unknown named section type is now reported as an error instead of being assembled into the current section.
- Named typed sections now keep their name where the output format supports it, so small-data sections can be placed by name.
Known issues
- With size optimisation enabled, an explicitly sized absolute address such as
move.l ($52).l,d0can still be shortened to word form; the explicit long form is currently treated as a size hint rather than a directive.
0.7.0 — 2026-07-29
Adds GenPC dialect support — Ziggy/OVR's PC cross-assembler (Overlanders).
Use --dialect=genpc for GenPC and as68 sources.
New features
--dialect=genpc: brace{/}macros,IF/WHILE/REPEAT,@octal, Devpac-styletext/end.- Flat binary output with
--raw; optional--relocreloc-table trailer and--strip-bsstail trim. LS/LSTsymbol-file load;.SY2overlay values when assembling with--reloc.
Improvements
- Default
--dialectrestored tovasmfor Motorola-syntax sources.
Bug fixes
- GenPC: SY2 overlay reloc values, WHILE/REPEAT parse depth, and sizing defaults (forward branches word-sized, unsized MOVE defaults to word).
0.6.0 — 2026-07-27
Much broader dialect coverage and byte-level checks against classic Atari
assemblers. Devpac, TurboAss, MADMAC, Alcyon and several other tools now have
committed goldens; --strict-dialect catches foreign syntax more reliably.
New features
- Full-syntax corpora for TurboAss and DevpacST 1.01 (STANDARD / GenST TOS programs).
- Expanded MADMAC, Alcyon AS68, Lattice, SEKA, GST-ASM and other dialect packs with host oracles.
- Dialects and smoke harnesses for additional vendored assemblers (Sozobon, Josy, Brainstorm, MWC, AssemPro, GFA).
- LLVM-flavoured GAS ingestion path and a
gas-llvmcorpus. - Aztec C Mot ingestion with a self-golden DRI pin (native ST
AS.TTPstill not available).
Improvements
- GenST / TurboAss
--prgoutput matches classic empty-DATA and reloc trailers more closely. --strict-dialectpromotes foreign-syntax heuristics to hard errors across dialects.- Rejection checklists and negatives across all 22 dialect coverage matrices.
Bug fixes
- Fixed empty-DATA padding when text length was 2 mod 4 (vlink-style pad) for GenST-family and TurboAss programs.
- GenST 1.01 treats
|as a line comment; ENDC handling matches the era.
0.5.6 — 2026-07-24
Added more vasm Mot and Pure C dialect coverage, and fixed a macro expansion crash. Building the macOS release no longer needs CoreFoundation.
New features
- Broader vasm Mot syntax: nested
\@!/\@@stacks,-allmpfor args 10–35, include / offset / section, data aliases and conditionals. - Pure C
MACRO name.sizesized-macro expansion, plus SET / EQU / MACRO / REPT / CPU coverage. - Pure C object names and FIX tables closer to PASM.
Bug fixes
- Macro
.sizeand\?0expansion no longer panics. - Dropped the
chronodependency so macOS cross-builds do not need CoreFoundation.
0.5.5 — 2026-07-22
Added support for additional dialects and improved the size optimiser. rg-asm now understands far more of RMAC's syntax, produces tighter code at the higher optimisation levels, and lays out Devpac-style object files more faithfully.
New features
- Much broader support for RMAC-style source, including its higher optimisation levels.
- Tighter code from the size optimiser: some absolute memory accesses become shorter PC-relative forms.
- Improved Devpac-compatible object output and listing formatting.
Bug fixes
- Fixed a false error on some forward references in indexed PC-relative addressing.
- More accurate instruction timing for immediate-to-register arithmetic.
- Corrected a few object-file layout details for better interoperability with other tools.
0.5.1 — 2026-07-20
Added a machine-readable JSON mode and an optional per-function size/timing table. Also fixed a pile of linker bugs — cases that used to emit subtly wrong programs now either work correctly or stop with a clear error.
New features
- A
--jsonmode that prints one structured document you can feed to other tools. - An optional
--functionstable showing the size and cycle cost of each function.
Bug fixes
- Fixed several linking bugs that could silently produce incorrect programs.
- Out-of-range jumps, bad relocations, and malformed flat images now stop with a clear error instead of emitting wrong bytes.
Breaking changes
- With no
-o, the output file is now named after the input (main.s→main.prg) instead of alwaysout.tos. Pass-o out.tosto keep the old name. - The
--summaryoptions were replaced by--functions(the per-function table),-q(quiet), and--json(machine-readable). - A few command-line flags were renamed for consistency; see the manual for the current names.
- The separate manual and man page were folded into the README that ships with the download.
0.1.0 — 2026-06-01
First public release. One self-contained assembler and linker for Atari ST and Falcon development — runs natively on Linux, macOS and Windows with nothing else to install. Free and open source (MIT or Apache-2.0).
New features
- Assembles Motorola syntax plus seven other classic assembler dialects, detected automatically per file.
- Links directly to ready-to-run Atari
.TOS/.PRGprograms. - Supports the full 680x0 line (68000–68060) and ColdFire instruction sets, floating-point targets, and a size optimiser.
- Reads and writes six common Atari object-file formats (DRI, GST, Pure C, SEKA, a.out, and ELF), so it mixes cleanly with other toolchains.
Known issues
- A handful of 68030 memory-management instructions are recognised but not yet assembled; rg-asm reports an error for them rather than risk emitting wrong code.