Before writing to the port i m setting the value of Control register by setting the its 5th bit at LOGIC 1. and after performing write operation i am checking the status of control register… I am surprised as the status of Control register is always incrementing as I incrementing the value from user side(eg. A, B, C…etc) …..
?????????????