steps. install keil µVision create a new project -- target: AT89C51 add the .c file to the source group & build (F7) open the peripherals, in seperate windows.