Keil software Download
Keil Uvision4 and Registration machine http://www.liangchan.net/soft/softdown.asp?softid=5688
Separate registration Machine http://www.newasp.net/soft/77176.html
Registered
Keil registry entry for the License Manager entry for the File menu
Copy the CID number to the keygen, multiple generate several times, input window, must appear similar to ' Expires 2020 ' words
Set up a project and debug to test if the registration is successful (2K program limit for de-emulation)
Test code
#include"Reg51.h"#include"stdio.h"voidMain () {Charvar_a; Tmod=0X20; SCON=0X52; TH1=0xf3; TL1=0xf3; TR1=1;
printf ("Input Number:"); scanf ("%c",&var_a); printf ("\nthe number you input is:%c", var_a);
while(1);}
Debug order
Rebuild compile, check error-free
Enter Debug (CTRL+F5), bring up Urat #1/call Stack/command
Run (F5), in Urat #1窗口中观察串口输出或输入
If there is a while (1) loop at the end of the program can stop
Exit Debug and press Ctrl+f5 once
Related toolbars
Command Windows-Prompt for run information, only show file path if no problem
Disassembly Windows-per line C and corresponding assembly
Symbols Windows-View of all program variables (address and type)
Call Stack Windows-view of custom variables
Watch Windows-Specify variable view
Memory Windows-Specify address view
Serial Windows-Serial port View/input
Analysis Windows-seems to be time series
Trace Windows
System Viewer Windows
Toolbox
51 Single chip microcomputer introduction and the use of Keil