Struct rs6502::Assembler
[−]
[src]
pub struct Assembler { /* fields omitted */ }
Methods
impl Assembler
[src]
fn new() -> Assembler
fn assemble_string<S, O>(&mut self,
code: S,
offset: O)
-> Result<Vec<CodeSegment>, AssemblerError> where S: Into<String>, O: Into<Option<u16>>
code: S,
offset: O)
-> Result<Vec<CodeSegment>, AssemblerError> where S: Into<String>, O: Into<Option<u16>>
fn assemble_file<P, O>(&mut self,
path: P,
offset: O)
-> Result<Vec<CodeSegment>, AssemblerError> where P: AsRef<Path>, O: Into<Option<u16>>
path: P,
offset: O)
-> Result<Vec<CodeSegment>, AssemblerError> where P: AsRef<Path>, O: Into<Option<u16>>