刻苦猫咪

文章
4
资源
0
加入时间
3年0月8天

Keil C中 error C141: syntax error near ‘=‘, expected ‘__asm‘

1、此段代码为对89C52单片机的定时器T0编程,设计的一段时钟代码。#include<reg52.h>unsigned char code ledcode[]={0x3f,0x5b,0x4f,0x66,0x7d,7,0x7f,0x6f}; //共阴极0-9的段选码unsigned char data hou,min,sec,num,disbuf[]={0,0,10,0,0,10,0,0}; //时分秒,num为T0中断次数,disbuf为显示的各位数#define