public static function opcode159(Core $core)
{
//Optimized SBC A:
if ($core->FCarry) {
$core->FZero = false;
$core->FSubtract = $core->FHalfCarry = $core->FCarry = true;
$core->registerA = 0xff;
} else {
$core->FHalfCarry = $core->FCarry = false;
$core->FSubtract = $core->FZero = true;
$core->registerA = 0;
}
}