GameBoy\Opcode::opcode61 PHP Method

opcode61() public static method

DEC A
public static opcode61 ( Core $core )
$core Core
    public static function opcode61(Core $core)
    {
        $core->registerA = $core->unsbtub($core->registerA - 1);
        $core->FZero = $core->registerA == 0;
        $core->FHalfCarry = ($core->registerA & 0xf) == 0xf;
        $core->FSubtract = true;
    }
Opcode