Using it
vasm
Amiga 68000, vasm Motorola syntax.
--dialect also accepts 68000, m68k, mot.
Directives
28 directives, 156 spellings. This is the list the parser looks a word up in, so a spelling here is one the assembler accepts and a spelling missing from it is one it refuses.
| Directive | Spellings | Notes |
|---|---|---|
align |
align |
|
assert |
assert |
|
cnop |
cnop |
|
common |
comm |
|
conditional |
if, ifne, ifeq, ifgt, ifge, iflt, ifle, ifd, ifnd, ifb, ifnb, ifc, ifnc, ifmi, ifpl, elif, elseif, else, endif, endc |
|
dc |
dc, dc.b, dc.w, dc.l |
|
dcb |
dcb, dcb.b, dcb.w, dcb.l |
|
ds |
ds, ds.b, ds.w, ds.l |
|
echo |
echo |
|
end |
end |
|
equ |
equ, = |
|
even |
even |
|
fail |
fail |
|
ignored-visibility |
local, idnt |
Accepted and discarded — it changes no bytes |
incbin |
incbin |
|
include |
include |
|
listing |
list, nolist, llen, plen, page, nopage, spc, ttl, symdebug, dsource, msource, vdebug, showoffset |
Accepted and discarded — it changes no bytes |
macro |
macro |
|
offset-control |
rsset, rsreset, rseven, setso, clrso, setfo, clrfo |
|
offset-counter |
rs, rs.b, rs.w, rs.l, so, so.b, so.w, so.l, fo, fo.b, fo.w, fo.l |
|
output-file |
output |
|
print_text |
printt |
|
print_value |
printv |
|
repeat |
rept, endr |
|
section |
section |
|
section_shorthand |
code, code_c, code_f, data, data_c, data_f, bss, bss_c, bss_f |
|
unsupported-vasm |
ac68080, auto, basereg, blk, cargs, comment, cpu32, cseg, db, debug, dl, dr, dseg, dw, dx, einline, endb, endm, erem, far, fpu, if1, if2, ifmacrod, ifmacrond, ifp1, image, incdir, initnear, inline, jumperr, jumpptr, line_a, line_f, linea, linef, load, machine, mask2, mexit, module, near, odd, offset, opt, org, popsection, pushsection, rem, rorg, sdreg, text |
Recognised, and not implemented |
visibility |
xdef, public, global, export, entry, weak, extrn, xref, import, nref |
Instruction mnemonics are not listed here — they come from the instruction-set spec and have their own reference.
Projects in more than one file
A relative request is looked for in the root input’s directory, however deep the request, then in the -I search directories in the order they were given.
The anchor is pinned against this dialect’s own reference assembler, and the dialects genuinely disagree — Projects in more than one file has the comparison.
Elsewhere
- Dialects — every dialect and what each is the syntax of
- Where we differ — every known difference from a reference assembler
- Moving a project across — adopting this on a project that already builds