pub fn ret_interrupt(cpu: &mut CPU) -> u8 {
    cpu.ime = true;

    ret(cpu)
}
/// Return to an address that was pushed to the stack.
/// Enables the master interrupt flag.
///
/// Takes 16 cycles.
///
/// # Examples
///
/// ```asm
/// RETI ; PC <<- STACK; ime == true
/// ```
Return to an address that was pushed to the stack.
Enables the master interrupt flag.

Takes 16 cycles.
Return to an address that was pushed to the stack . Enables the master interrupt flag . Takes 16 cycles .
pub fn ret_interrupt(cpu: &mut CPU) -> u8 {
    cpu.ime = true;
    ret(cpu)
}
pub fn ret_interrupt ( cpu : & mut CPU ) -> u8 { cpu . ime = true ; ret ( cpu ) }
Return to an address that was pushed to the stack.
Return to an address that was pushed to the stack .
cpu
&mut CPU
cpu
&mut CPU
examples
None