请指教,为什么编译时出错提示为"0xff:undefined identifier"
#include<reg51.h>
sbit pos=P3^5;
sbit in_rev=P3^4;
sbit led_pos=P1^7;
sbit led_in_rev=P1^6;
sbit motor_in1=P1^2;
sbit motor_in2=P1^3;
void _nop_(void);
#define Nop _nop_()
#define uchar unsigned char
#define uint unsigned int
void dlyus(uchar count);
void dlyms(uchar count);
void dlys(uchar count);
uchar code IN1[0x04]={Oxff,0xff,0x00,0x00};
uchar code IN2[0x04]={0x00,0xff,0xff,0x00};
main()
{
uint allsteps = 0x274;
uchar step_pc =0;
// uchar motor_in1,motor_in2;
while(0x01)
{
if(allsteps == 0)
allsteps = 0x274;
if(pos ==1)
{ dlyms(0xc8); //防抖;
while(0x01)
{ led_pos =1;
motor_in1=IN1[step_pc];
motor_in2=IN2[step_pc];
step_pc++;
if(step_pc == 3)
step_pc =0;
if(!(allsteps--))
break;
dlyms(0xc8);
dlyms(0xc8);
}
}
if(in_rev == 1)
{
dlyms(0xc8);
while(0x01)
{
led_pos =1;
step_pc =0;
motor_in1=IN2[step_pc];
motor_in2=IN1[step_pc];
step_pc++;
allsteps--;
if(step_pc == 3)
step_pc =0;
if(!(allsteps--))
break;
dlyms(0xc8);
dlyms(0xc8);
}
}
}
}
void dlyus(uchar a)
{
while(a--)
{
Nop;
}
}
void dlyms(uchar a)
{
while(a--)
{
dlyus(0xc8);
}
}
void dlys(uchar a)
{
while(a--)
{
dlyms(0xc8);
dlyms(0xc8);
dlyms(0x64);
}
}