Skip to main content

assemble

Function assemble 

Source
pub fn assemble(
    srcfile: PathBuf,
    format: BinFormat,
) -> Result<Vec<u8>, AssemblerError>
Expand description

Assembles the contents of the file srcfile into properly encoded CFD-16 machine code. The format variable indicates the file type in which the resulting program is encoded.