GameBoy\Cbopcode::cbopcode28 PHP Méthode

cbopcode28() private static méthode

Cbopcode #0x1C.
private static cbopcode28 ( Core $core )
$core Core
    private static function cbopcode28(Core $core)
    {
        $newFCarry = ($core->registersHL & 0x100) == 0x100;
        $core->registersHL = ($core->FCarry ? 0x8000 : 0) + ($core->registersHL >> 1 & 0xff00) + ($core->registersHL & 0xff);
        $core->FCarry = $newFCarry;
        $core->FHalfCarry = $core->FSubtract = false;
        $core->FZero = $core->registersHL <= 0xff;
    }
Cbopcode