Ok Port A, b whichever. A port Typically has 8 I/O lines and can be read like any register, and can hold the value 0 to 255 counting in binary. In "C" they call it SWITCH CASE in PBP it is SELECT CASE.