Skip to content

Atom Appendices03

Appendix 3 — CLI Flag Reference

The entry source is the final argument:

sh
atom [OPTIONS] entry.asm

Build options

OptionArgumentEffect
-o, --outputDirectorySelect the artifact bundle directory
--rootDirectorySet the project root; default is the current directory
--originNumberSet the initial native target address
--capacityNumberSet the mathematical target capacity
--entryNumberSet the entry address recorded in NOBJ and D8
--fillNumberSet the byte used for materialised gaps and reservations
-DNAME[=VALUE]DefinitionAdd one immutable host-preprocessor definition; omitted value means 1

Command-line numbers accept decimal, $ hexadecimal, % binary, Intel H hexadecimal, and Intel B binary. A shell may expand $, so quote that form or use an Intel suffix.

Other options

OptionEffect
--self-hostAssemble the checked Atom source shipped in the package
-h, --helpPrint command usage

Self-host mode accepts only an output-directory override. It fixes all build values needed for the byte-identity proof.

Status values

StatusMeaning
0Successful assembly and publication
1Build or publication failure
2Invalid command use