/// Attempts to resolve the label with the given name to an address.
Attempts to resolve the label with the given name to an address.
Attempts to resolve the label with the given name to an address .
fn resolve_label(&self, label: &str, linum: usize) -> Result<u16> {
        if let Some(&addr) = self.labels.get(label) {
            Ok(addr)
        } else {
            Err(ErrorKind::Asm(format!("label '{}' is undefined", label), linum).into())
        }
    }
fn resolve_label ( & self , label : & str , linum : usize ) -> Result < u16 > { if let Some ( & addr ) = self . labels . get ( label ) { Ok ( addr ) } else { Err ( ErrorKind :: Asm ( format ! ( " " label ) , linum ) . into ( ) ) } }
Attempts to resolve the label with the given name to an address.
Attempts to resolve the label with the given name to an address .
&self
label
&str
linum
usize