GameBoy\Opcode::opcode56 PHP Method

opcode56() public static method

JR cc, n
public static opcode56 ( Core $core )
$core Core
    public static function opcode56(Core $core)
    {
        if ($core->FCarry) {
            $core->programCounter = $core->nswtuw($core->programCounter + $core->usbtsb($core->memoryRead($core->programCounter)) + 1);
            ++$core->CPUTicks;
        } else {
            $core->programCounter = $core->programCounter + 1 & 0xffff;
        }
    }
Opcode