// Returns the binary code of the dest mnemonic
Returns the binary code of the dest mnemonic
Returns the binary code of the dest mnemonic
pub(crate) fn dest(&self, mnemonic: Option<&str>) -> &'static str {
        match mnemonic {
            Some(mne) => match mne {
                "M" => "001",
                "D" => "010",
                "MD" => "011",
                "A" => "100",
                "AM" => "101",
                "AD" => "110",
                _ => "111",
            },
            _ => "000",
        }
    }
pub ( crate ) fn dest ( & self , mnemonic : Option < & str > ) -> & ' static str { match mnemonic { Some ( mne ) => match mne { " " => " " , " " => " " , " " => " " , " " => " " , " " => " " , " " => " " , _ => " " , } , _ => " " , } }
Returns the binary code of the dest mnemonic
Returns the binary code of the dest mnemonic
&self
mnemonic
Option<&str>