Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - prototype.c
Search - prototype.c - List
/*看大家都在学操作系统,我也想学学。所以想用51写一个来玩玩,发现比较郁闷。 弄了几下,不想再弄了,51弄这个没啥意思。我用的89S52,除了速度慢,RAM资源 太少之外,其它都还过得去。弄了一点代码出来,放在那也没啥用,不如拿上来 给新手看看,一个任务调度的雏形是什么样子的~~~~~~~~~这些代码没有经过优化, 我只求实现任务切换的功能。 利用定时器2产生10mS的定时中断作为时钟节拍,任务切换时保存工作寄存器等操作 嵌入了汇编指令,因此Task_Switch.C文件要做相应的设置才能编译通过。受硬件资源和编译器的限制,有很多无奈。程序只好这样写了,不管怎么说,到底是能调度起来了。 注:这里是老版本,后面又改动的新版本。-/ * see everyone in school operating systems, I also want to learn. So I would like to use 51 to write a play and found to be relatively depressed. Get a few, do not want to wander and get the 51 lacks meaning. I use the 89S52, in addition to the slow speed, RAM too few resources, the other is still decent. Get a bit code and placed it also lacks used, it is better to put up with the newcomers to see, a task scheduling is a prototype of what the code of ~~~~~~~~~ without optimization, I want to achieve task switching function. Use timers 10mS two have regularly interrupted as the clock rhythms, task switching preservation register as a compilation of embedded operating instructions, therefore Task_Switch.C document to be done to set up the corresponding compile. By hardware resources and c
Date : 2008-10-13 Size : 2.84kb User : 谢军

C语言库函数速查[CHM文档]是一个很好的C语言函数查询器.属于CHM文档. iscntrl 原型:extern int iscntrl(int c) 用法:#include <ctype.h> 功能:判断字符c是否为控制字符 说明:当c在0x00-0x1F之间或等于0x7F(DEL)时,返回非零值,否则返回零。-C language library functions Check [CHM documentation] is a very good C language function for inquiries. CHM belonging to the text Ref. iscntrl prototype : extern int iscntrl (int c) Usage : # include
Date : 2008-10-13 Size : 81.63kb User : 王敏

本文主要研究Ada95与C++两种面向对象语言之间类层次上的绑定生成方法。首 先简要描述了Ada95与C++面向对象机制的异同以及Ada95标准中与其它语言的接 口机制,在此基础上给出了Ada95到C++类的绑定生成方法,设计出绑定生成工具 原型;对通用目标代码文件格式和内部链接名信息的提取进行详细讨论,并给予实 现;对C++模板的绑定生成进行了较深入地分析,提出模板绑定生成的解决方案并 进行了实例验证。所采取的研究方法及所得结果同样适用于其它语言间的绑定生成。-This paper studies two Ada95 and object-oriented C language class hierarchy between the bundled generation. First a brief description of the Ada95 and C object-oriented mechanism, as well as the similarities and differences between Ada95 standards and other languages access I mechanism on this basis is given to the Category C Ada95 bundled generation, design tools bundled generation prototype; the generic object code file format and internal links from the extracted information discussed in detail and give realized; C bundled with the template for generating a more in-depth analysis, Generation raised templates bundled solutions and the practical examples. Taken by the research methodology and the results are equally applicable to other languages of the bundled generation.
Date : 2008-10-13 Size : 1.71mb User : 王浩(jiqixueyuan)
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.