这个例子如果运行,将在仿真的PC窗口中的第1,2,3行显示一些信息后,在随机位置显示 1 ~ 5 .由于keil c51默认不支持重入函数,它的重入函数使用仿真的重入栈而不使用系统栈,而Small RTOS 51没有进行重入栈管理,所以在TaskA~TaskE虽然及其相似,但不能合并. 注意:(1)在KEIL C51 工程中,我已经把输出文件目录设在e:\temp中,您可以在Project->Options for Target "Target 1"的output页点击Select Folder for Objects...和Listing页点击Select Folder for Listing...改变. (2)编译时会有5个警告,其中一个是因为没有使用一个系统函数OSSendSignal引起,它可以忽略.另4个是禁止任务间变量覆盖分析引起,必须忽略.感谢网友John X. Liu,在这个例子中我使用了他编写的仿真(dllPc51Emu.dll),这个dll原来是为他移植的Ucos-ii for keil c51的例子编写. (3)Pc51Emu.dll在KEIL C51 V6.23 V7.00工作不正常.
上传时间: 2015-05-29
上传用户:无聊来刷下
The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition
标签: government streamline important alphabet
上传时间: 2015-06-09
上传用户:weixiao99
HanNuota a simple small game can automatically display process.
标签: automatically HanNuota display process
上传时间: 2015-06-09
上传用户:Thuan
蓝牙协议软件的结构、移植与应用. 本文以Extended Systems公司的蓝牙协议栈产品XTNDAccess Blue SDK为例介绍了蓝牙协议软件的设计原理,协议栈结构,移植过程,及应用的开发方法。
标签: XTNDAccess Extended Systems Blue
上传时间: 2013-12-31
上传用户:qiaoyue
small RTOS 嵌入式实时多任务开发,无线发送程序
上传时间: 2013-12-08
上传用户:520
blue tooth 核心协议栈在linux上的实现
上传时间: 2015-06-14
上传用户:sammi
sdcc的win版本.是small device c compiler的意思.支持8051和z80.是一个遵循GPL的软件,不过他的库函数是LGPL的,允许商业联结,可以用在自己的软件里
标签: compiler device small sdcc
上传时间: 2013-11-28
上传用户:lanhuaying
周立功的工程师 陈明计 对Small RTOS的移植代码
上传时间: 2015-06-21
上传用户:thinode
Small RTOS的Serial程序,再做点修改,就可以做modbus的程序了!
上传时间: 2015-07-01
上传用户:agent
Small RTOSv1.12.x 下dp-51例子, 包括完整的原程序和说明
上传时间: 2014-01-03
上传用户:zhaiyanzhong