跪求帮忙啊!!!!用keil编译的时候出现两个警告,查了好久,都没有弄对,说简单一点,才开始接触,小白!
Buildtarget'Target1'linking...***WARNINGL16:UNCALLEDSEGMENT,IGNOREDFOROVERLAYPROCESSS...
Build target 'Target 1'
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?MMAIN?ZUOXUNHUANFANGSHI
*** WARNING L10: CANNOT DETERMINE ROOT SEGMENT
Program Size: data=9.0 xdata=0 code=65
creating hex file from "点亮发光二极管"...
"点亮发光二极管" - 0 Error(s), 2 Warning(s).
#include<reg52.h>
#include<intrins.h>
#define uint unsigned int
#define uchar unsigned char
uchar temp;
void delay(uint);
void mmain()
{
temp=0xfe;
P1=temp;
while(1)
{
temp=_crol_(temp,1);
delay(200);
P1=temp;
}
}
void delay(uint z)
{
uint x,y;
for(x=100;x>0;x--)
for(y=z;y>0;y--);
} 展开
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?MMAIN?ZUOXUNHUANFANGSHI
*** WARNING L10: CANNOT DETERMINE ROOT SEGMENT
Program Size: data=9.0 xdata=0 code=65
creating hex file from "点亮发光二极管"...
"点亮发光二极管" - 0 Error(s), 2 Warning(s).
#include<reg52.h>
#include<intrins.h>
#define uint unsigned int
#define uchar unsigned char
uchar temp;
void delay(uint);
void mmain()
{
temp=0xfe;
P1=temp;
while(1)
{
temp=_crol_(temp,1);
delay(200);
P1=temp;
}
}
void delay(uint z)
{
uint x,y;
for(x=100;x>0;x--)
for(y=z;y>0;y--);
} 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询