public static function opcode170(Core $core) { $core->registerA ^= $core->registerD; $core->FZero = $core->registerA == 0; $core->FSubtract = $core->FHalfCarry = $core->FCarry = false; }