GameBoy\Cbopcode::cbopcode24 PHP Method

cbopcode24() private static method

Cbopcode #0x18.
private static cbopcode24 ( Core $core )
$core Core
    private static function cbopcode24(Core $core)
    {
        $newFCarry = ($core->registerB & 0x1) == 0x1;
        $core->registerB = ($core->FCarry ? 0x80 : 0) + ($core->registerB >> 1);
        $core->FCarry = $newFCarry;
        $core->FHalfCarry = $core->FSubtract = false;
        $core->FZero = $core->registerB == 0;
    }
Cbopcode