    MOV  A,P2_OLR
    XRL  A,R7
    ANL  A,#0FH
    XRL  A,P2_OLR
    MOV  P2_OLR,A
    MOV  P2,A