fn assemble_pass2<'s>(
source_file: SourceFile,
source_file_body: &Source<'s>,
) -> Result<Pass2Output<'s>, AssemblerFailure>
Expand description
Pass 2 converts the abstract syntax representation into a
Directive
, which is closer to binary code.
The source_file
input is essentially an abstract syntax
representation. The output is a symbol table and a “directive”
which is a sequence of blocks of code of known position and size
(but the contents of which are not yet populated).