*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?CROL?TEXT1
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
SYMBOL: MAIN
MODULE: D:PROGRAM FILES (X86)KIELC51LIBC51S.LIB (?C_INIT)
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
SYMBOL: MAIN
MODULE: D:PROGRAM FILES (X86)KIELC51LIBC51S.LIB (?C_INIT)
ADDRESS: 0010H
Program Size: data=11.0 xdata=0 code=206
crea
ting hex file from "1"...
"1" - 0 Error(s), 3 Warning(s).
-------------------------------------------------------------------------------------------------------------------------------------
#include <reg52.h>
#include <intrins.h>
#define uchar unsigned char
#define uint unsigned int
void delay(uint);
void crol()
{
uchar a;
uchar b;
a=0xFE;
while(1)
{
P0=a;
delay(10);
b=_crol_(a,1);
}
}
void delay(uint z)
{
uint x;
uint y;
for(x=100;x>0;x--)
for(y=z;y>0;y--);
}
一周热门 更多>