Hi I am trying to see if my chip (atmel 89c51) works. I am trying to turn on a LEd through a switch. I used 11.0592 Mhz clock in pin # 19 then grounded the uC and put 5v vcc. I found several c program to turn the LED on but none of them work. Please anyone can help me by providing me a right program and tell me the right pin connection. Remember I am trying to turn the LED on through a switch.
Why not just use the following?
CSEG AT 0 XRL P1, #0xFF LJMP 0