pub fn pop_r16(cpu: &mut CPU, r16: &Reg16) -> u8 {
    let value = pop_stack_d16(cpu);
    cpu.registers.write16(r16, value);

    12
}
/// Pop the contents of the stack into a 16-bit register.
///
/// Takes 12 cycles.
///
/// # Examples
///
/// ```asm
/// POP BC ; BC <<- STACK
/// ```
Pop the contents of the stack into a 16-bit register.
Takes 12 cycles.
Pop the contents of the stack into a 16 - bit register . Takes 12 cycles .
pub fn pop_r16(cpu: &mut CPU, r16: &Reg16) -> u8 {
    let value = pop_stack_d16(cpu);
    cpu.registers.write16(r16, value);
    12
}
pub fn pop_r16 ( cpu : & mut CPU , r16 : & Reg16 ) -> u8 { let value = pop_stack_d16 ( cpu ) ; cpu . registers . write16 ( r16 , value ) ; 12 }
Pop the contents of the stack into a 16-bit register.
Pop the contents of the stack into a 16 - bit register .
cpu
&mut CPU
r16
&Reg16
cpu
&mut CPU
r16
&Reg16
examples
None