pub fn or_d8(cpu: &mut CPU) -> u8 {
    let value = cpu.fetch8();

    let (acc, flags) = alu_or_8bit(cpu.registers.a, cpu.registers.f, value);
    cpu.registers.a = acc;
    cpu.registers.f = flags;

    8
}
/// OR 8-bit value with register A, storing the result in A.
///
/// Takes 8 cycles.
///
/// # Examples
///
/// ```asm
/// OR $DA ; A <- A | 0xDA
/// ```
OR 8-bit value with register A, storing the result in A.
Takes 8 cycles.
OR 8 - bit value with register A storing the result in A . Takes 8 cycles .
pub fn or_d8(cpu: &mut CPU) -> u8 {
    let value = cpu.fetch8();
    let (acc, flags) = alu_or_8bit(cpu.registers.a, cpu.registers.f, value);
    cpu.registers.a = acc;
    cpu.registers.f = flags;
    8
}
pub fn or_d8 ( cpu : & mut CPU ) -> u8 { let value = cpu . fetch8 ( ) ; let ( acc , flags ) = alu_or_8bit ( cpu . registers . a , cpu . registers . f , value ) ; cpu . registers . a = acc ; cpu . registers . f = flags ; 8 }
OR 8-bit value with register A, storing the result in A.
OR 8 - bit value with register A storing the result in A .
cpu
&mut CPU
cpu
&mut CPU
examples
None