/// Returns the address argument of the current instruction, if any.
Returns the address argument of the current instruction, if any.
Returns the address argument of the current instruction if any .
pub fn address(&self) -> Option<u16> {
        match *self {
            Instruction::Load(n) |
            Instruction::Store(n) |
            Instruction::Add(n) |
            Instruction::Sub(n) |
            Instruction::And(n) |
            Instruction::Or(n) |
            Instruction::Xor(n) |
            Instruction::Jmp(n) |
            Instruction::Jmpe(n) |
            Instruction::Jmpl(n) |
            Instruction::Brl(n) => Some(n),
            _ => None,
        }
    }
pub fn address ( & self ) -> Option < u16 > { match * self { Instruction :: Load ( n ) | Instruction :: Store ( n ) | Instruction :: Add ( n ) | Instruction :: Sub ( n ) | Instruction :: And ( n ) | Instruction :: Or ( n ) | Instruction :: Xor ( n ) | Instruction :: Jmp ( n ) | Instruction :: Jmpe ( n ) | Instruction :: Jmpl ( n ) | Instruction :: Brl ( n ) => Some ( n ) , _ => None , } }
Returns the address argument of the current instruction, if any.
Returns the address argument of the current instruction if any .
&self