pub(super) fn from_pair_code_af(code: u8) -> Operand16 {
        match code {
            0 => Operand16::BC,
            1 => Operand16::DE,
            2 => Operand16::HL,
            3 => Operand16::AF,
            _ => panic!("Unrecognized register pair code {}", code),
        }
    }
/// Get a 16 bit operand from a register pair code, using the table of register pairs that
/// includes the accumulator-flags pair. Panics if the code is greater than 3.
Get a 16 bit operand from a register pair code, using the table of register pairs that
includes the accumulator-flags pair. Panics if the code is greater than 3.
Get a 16 bit operand from a register pair code using the table of register pairs that includes the accumulator - flags pair . Panics if the code is greater than 3 .
pub(super) fn from_pair_code_af(code: u8) -> Operand16 {
        match code {
            0 => Operand16::BC,
            1 => Operand16::DE,
            2 => Operand16::HL,
            3 => Operand16::AF,
            _ => panic!("Unrecognized register pair code {}", code),
        }
    }
pub ( super ) fn from_pair_code_af ( code : u8 ) -> Operand16 { match code { 0 => Operand16 :: BC , 1 => Operand16 :: DE , 2 => Operand16 :: HL , 3 => Operand16 :: AF , _ => panic ! ( " " code ) , } }
Get a 16 bit operand from a register pair code, using the table of register pairs that
includes the accumulator-flags pair.
Get a 16 bit operand from a register pair code using the table of register pairs that includes the accumulator - flags pair .
code
u8
code
u8