@dkgdsc
源:
/**
* CPU: 89C52
* Freq: 12MHz
*/
#include "reg52.h"
#include <stdio.h>
sbit P1_0 = 0x90 ;
//void delay_100ms(); //@12MHz
/*void main()
{
while (1)
{
//vbn n'm'jP00 = !P00;
delay_100ms();
}
}*/
void main()
{
while (1)
{
P1_0=0;
/* delay_100ms;
P1_0=1;
delay_100ms;*/
}
}
生成的汇编:

仿真:

PS:插件 和 Keil_C51 都是用的同一编译器,要是实在不放心的话,建议还是用 Keil 去吧