look at following code, i have no idea about what does "KEY_RESET" in the "if" statement read from, "P1" or "Pin of P1" ?("Parallel Port 1" window display in the simulator)
sbit KEY_RESET = P1^5; if(KEY_RESET == 1) { ...
you are welcome! thanks to everybody here again.... xie xie