DASM(1)

πŸ’… DASM β€” like, the manual page, bestie

okay so this is dasm(1), a section 1 general commands manual page, and I am so excited to walk you through it. no cap. πŸŽ€


✨ NAME ✨

dasm β€” an 8-bit macro assembler. that's it, that's the whole vibe. it assembles, it macros, it's 8-bit. iconic behavior honestly. πŸ‘‘


🌸 SYNOPSIS 🌸

dasm sourcefile [options]

so you give it a sourcefile, you sprinkle some options on top, and it does the thing. πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

okay first things first, this manual page is just documenting the dasm command briefly, so don't come for me if you want the deep lore.

dasm is a versatile macro assembler (versatile!! she contains multitudes) and she supports several 8-bit microprocessors, namely:

  • MOS 6502 & 6507
  • Motorola 6803, 68705, and 68HC11
  • Hitachi HD6303 (which is an extended Motorola 6801, iykyk)
  • Fairchild F8

that's a whole roster. main character energy fr fr. 🌈


⭐ OPTIONS ⭐

dasm supports the following options β€” this is the brief rundown, bestie. if you want more, go read the dasm Technical Reference Manual (link in SEE ALSO, don't worry, I got you πŸ’œ).

  • -f# β€” output format, 1-3 [default: 1]
  • -oname β€” output file name [default: a.out]
  • -lname β€” list file name [default: none generated]
  • -Lname β€” list file, containing all passes
  • -v# β€” verboseness, 0-4 [default: 0]
  • -d β€” debug mode (for developers πŸ‘€)
  • -Dsymbol β€” define symbol, set to 0
  • -Dsymbol=expression β€” define symbol, set to expression
  • -Msymbol=expression β€” define symbol using EQM (same as -D)
  • -p# β€” maximum number of passes
  • -P# β€” maximum number of passes, with fewer checks
  • -T# β€” symbol table sorting [default: 0]
    • 0 = alphabetical
    • 1 = address/value
  • -E# β€” error format [default: 0]
    • 0 = MS
    • 1 = Dillon
    • 2 = GNU
  • -S β€” strict syntax checking
  • -R β€” remove binary output file in case of errors
  • -m# β€” maximum allowed file-size in kB
not me casually listing every single one of these. yes bestie, all of them. every flag. we don't skip. πŸ’…

🫢 SEE ALSO 🫢

  • /usr/share/doc/dasm/dasm.pdf:
    • the dasm Technical Reference Manual

🧚 AUTHOR 🧚

Written and maintained by the DASM team and its contributors. thank you for your service, legends. 🫑✨


and that's the whole page, bestie!! this was DASM(1) from the General Commands Manual, dated October 11 2020 β€” go forth and assemble something adorable. πŸ“πŸŒΈπŸ’–