pub fn push_r16(cpu: &mut CPU, r16: &Reg16) -> u8 {
    let value = cpu.registers.read16(r16);
    push_stack_d16(cpu, value);

    16
}
/// Push a 16-bit register to the stack.
///
/// Takes 16 cycles.
///
/// # Examples
///
/// ```asm
/// PUSH BC ; STACK <<- BC
/// ```
Push a 16-bit register to the stack.
Takes 16 cycles.
Push a 16 - bit register to the stack . Takes 16 cycles .
pub fn push_r16(cpu: &mut CPU, r16: &Reg16) -> u8 {
    let value = cpu.registers.read16(r16);
    push_stack_d16(cpu, value);
    16
}
pub fn push_r16 ( cpu : & mut CPU , r16 : & Reg16 ) -> u8 { let value = cpu . registers . read16 ( r16 ) ; push_stack_d16 ( cpu , value ) ; 16 }
Push a 16-bit register to the stack.
Push a 16 - bit register to the stack .
cpu
&mut CPU
r16
&Reg16
cpu
&mut CPU
r16
&Reg16
examples
None