Here is a snippet.

In this case the Load would be the same as your Latch.

Code:
Clock   var PORTB.7
Load    var PORTB.6
Data_1  var PORTB.5
'###########
pulsout Load,1
shiftin Data_1,Clock,MSBPre,[keys]