0http://www.8051microcontrollers.com/8051-tutorials-a/port-0-port-1-port-2-port-3-at8051-at89s51-at89s52-at89c51-at89c52