More specifically, READ from PORTX.Y where the port is deemed an INPUT. This way you can see where the port is. LAT controls OUTPUT. Never tried reading a LAT register when using the port as an INPUT.