public static function opcode58(Core $core) { $core->registerA = $core->memoryRead($core->registersHL); $core->registersHL = $core->unswtuw($core->registersHL - 1); }