如何用keil和protues联调错误,不能打开hex文件,keil也产生了错误#include <reg52.h?

用keil和protues联调错误,不能打开hex文件,keil也产生了错误

img

img

img

#include
#define uchar unsigned char
void  main()
{
    uchar   p1_Value=0;
     SP=0X50;    //设置堆栈
     IT1=1;        //设置外部中断1边沿触发
     EX1=1;        //开放外部中断1中断申请
     EA=1;       //开放总中断申请开关
     while(1){}     //踏步等待中断
}
void exint0(void) interrupt  2 {//外部中断1中断服务子程序
    uchar p1_Value=0;
    P1=0xff;
    p1_Value=P1 & 0x0f;         //读取PI口低4位键值
    p1_Value=p1_Value<<4;        
    P1=p1_Value;                //输出键值,驱动发光二极管
}

不要用中文路径