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>>,
&mut self,
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>>,
&mut self,
path: P,
offset: O
) -> Result<Vec<CodeSegment>, AssemblerError> where
P: AsRef<Path>,
O: Into<Option<u16>>,