文件名称:Exam1
介绍说明--下载内容均来自于网络,请自行研究使用
前两天一个朋友要我写一个51例程,要求尽量把我会的东西都放到例程里,并且说了一句非常狠的话,要我把程序做成“看起来像是高手写的程序”,这话,我现在越想越不舒服。
当然,既然答应了,也就写出来了,不敢在高手面前弄斧,就发给新手看看了。
51有两年没有用了,不过竟然汇编还能写出来,哈哈。我以前从来不用extern关键字,这里也用上了,当然了,保证学51的朋友看来不会后悔。
#注:用的不是汇编,只是嵌入汇编的功能用进去了,
功能:数码管显示,
按键,
不同的按键按下走马灯程序会改变方式,但是这部分有点BUG(功能和程序里注释有点不符合,已经花了两天时间了,不想花时间找了),
串口回发
文件名EXAM1。UV2, 和EXAM1。DSN(proteus)
-err
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Exam1
.....\BCDCHANGE.ASM
.....\BCDCHANGE.LST
.....\BCDCHANGE.OBJ
.....\cpudef.h
.....\display.c
.....\display.h
.....\display.LST
.....\display.OBJ
.....\EXAM1
.....\EXAM1.C
.....\EXAM1.H
.....\EXAM1.lnp
.....\EXAM1.LST
.....\EXAM1.M51
.....\EXAM1.OBJ
.....\EXAM1.Opt
.....\EXAM1.plg
.....\EXAM1.Uv2
.....\EXAM122bk.C
.....\EXAM1_Opt.Bak
.....\EXAM1_Uv2.Bak
.....\HardConfig.c
.....\HardConfig.h
.....\HardConfig.LST
.....\HardConfig.OBJ
.....\INANDOUT.C
.....\INANDOUT.H
.....\INANDOUT.LST
.....\INANDOUT.OBJ
.....\interrupt.c
.....\interrupt.h
.....\interrupt.h.bak
.....\interrupt.LST
.....\interrupt.OBJ
.....\JTZMV20
.....\JTZMV20.C
.....\JTZMV20.H
.....\JTZMV20.lnp
.....\JTZMV20.LST
.....\JTZMV20.M51
.....\JTZMV20.OBJ
.....\JTZMV20.Opt
.....\JTZMV20.plg
.....\JTZMV20_Opt.Bak
.....\JTZMV20_Uv2.Bak
.....\key.c
.....\key.h
.....\key.LST
.....\key.OBJ
.....\LED.C
.....\LED.H
.....\LED.LST
.....\LED.OBJ
.....\LEDMenu.c
.....\LEDMenu.h
.....\LEDMenu.LST
.....\LEDMenu.OBJ
.....\LEDMenu122bk.c
.....\WeekDayCalc.C
.....\WeekDayCalc.h
.....\WeekDayCalc.LST
.....\WeekDayCalc.OBJ
.....\BCDCHANGE.ASM
.....\BCDCHANGE.LST
.....\BCDCHANGE.OBJ
.....\cpudef.h
.....\display.c
.....\display.h
.....\display.LST
.....\display.OBJ
.....\EXAM1
.....\EXAM1.C
.....\EXAM1.H
.....\EXAM1.lnp
.....\EXAM1.LST
.....\EXAM1.M51
.....\EXAM1.OBJ
.....\EXAM1.Opt
.....\EXAM1.plg
.....\EXAM1.Uv2
.....\EXAM122bk.C
.....\EXAM1_Opt.Bak
.....\EXAM1_Uv2.Bak
.....\HardConfig.c
.....\HardConfig.h
.....\HardConfig.LST
.....\HardConfig.OBJ
.....\INANDOUT.C
.....\INANDOUT.H
.....\INANDOUT.LST
.....\INANDOUT.OBJ
.....\interrupt.c
.....\interrupt.h
.....\interrupt.h.bak
.....\interrupt.LST
.....\interrupt.OBJ
.....\JTZMV20
.....\JTZMV20.C
.....\JTZMV20.H
.....\JTZMV20.lnp
.....\JTZMV20.LST
.....\JTZMV20.M51
.....\JTZMV20.OBJ
.....\JTZMV20.Opt
.....\JTZMV20.plg
.....\JTZMV20_Opt.Bak
.....\JTZMV20_Uv2.Bak
.....\key.c
.....\key.h
.....\key.LST
.....\key.OBJ
.....\LED.C
.....\LED.H
.....\LED.LST
.....\LED.OBJ
.....\LEDMenu.c
.....\LEDMenu.h
.....\LEDMenu.LST
.....\LEDMenu.OBJ
.....\LEDMenu122bk.c
.....\WeekDayCalc.C
.....\WeekDayCalc.h
.....\WeekDayCalc.LST
.....\WeekDayCalc.OBJ