Rust · 587 bytes Raw Blame History
1 //! afs-as: Standalone ARM64 assembler for macOS
2 //!
3 //! Encodes ARM64 instructions, parses assembly text, and emits Mach-O object files.
4 //! Usable as a library (called by the ARMFORTAS compiler) or as a standalone CLI tool.
5
6 // Binary literal groupings follow ARM instruction field boundaries (e.g., sf|opc|fixed),
7 // not Rust's default byte groupings. This is intentional and more readable for ISA work.
8 #![allow(clippy::unusual_byte_groupings)]
9
10 pub mod assemble;
11 pub mod encode;
12 pub mod expr;
13 pub mod lex;
14 pub mod macho;
15 pub mod parse;
16
17 /// ARM64 register definitions.
18 pub mod reg;
19