I've Googled, but I can't find a place with nice PM assembler code. I'm particularly interested in how the I/O pins are addressed.

How to move a byte to a port:
mov P1,a ;set output data

How to reset a particular pin:
clr P3.2 ;CS = 0

Robert