Newer PICs have LATx registers that eliminate the RMW issues.