Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - main.c
Search - main.c - List
首先,分别对8255、8253进行初始化,设置8255为A口、C口输出,设置8253的计数器0为工作模式3;其次,设置IRQ7的中断矢量,使得有IRQ7中断时调用SERVER;再次,调用INIT对计数值初始化;最后,主程序循环等待中断,开始秒表的计时。 2、 INIT子程序-First, the 8255,8253 initialization, set for the 8255 A-C mouth output, set 8253 as the Counter mode 0 3; Second, set up the interruption vector there, make it there interruption call SERVER; Again, call curl_setopt early to count before; Finally, the cycle of waiting for the main program interruption began stopwatch time. 2, curl_setopt Subroutine
Date : 2008-10-13 Size : 3.61kb User : 孙媳妇

该程序模拟UNIX中save与resume函数,并介绍在VC中如何使用汇编进行机器级的操作. 主函数很简单首先引入两个外部函数,extern \"C\"表示按传统C命名习惯.函数save将程序指针保存在(*s)中并返回0,为什么有 if(save(&sp)){...} if后的语句看起来永远都不会被执行,但是运行结果表明它被执行了.这个问题同UNIX中处理机调度函数(switch)的那个if语句(第一句)一样. 程序执行完save(&sp)后得到因为条件为假而执行else语句,却在判断之前将程序指针保存在sp中了. else语句中的resume(&sp),该函数很狡猾将堆栈中的返回地址改变了,改到了sp所指出,即将程序指针改到了执行条件判断前.resume返回1,条件满足,执行if语句. save函数堆栈: eip ebp+8 s ebp+4 ebp ebp+0 resume函数堆栈与save的相同. 新建一个win32的工程,将unixc.cpp和unix.obj加入过程即可. unix.obj是用masm6.11生成的:ml /c /coff unix.asm,生成coff格式的obj而不是omf格式.-the simulation UNIX save and resume function, and the VC on how to use the compiled class machines for the operation. main function is very simple to introduce the first two external function, extern "C" said C. named by the traditional habits. function pointer procedures will save preserved in (* s) and return 0, why are there if (save (
Date : 2008-10-13 Size : 6.11kb User : 摩尔

用户用main表示主函数,每个c程序必有一个main函数。
Date : 2008-10-13 Size : 1.86kb User : 黄旭远

Program main BIOS image | | /B - Program Boot Block | | /N - Program NVRAM | | /C - Destroy CMOS checksum | | /E - Program Embedded Controller Block | | /K - Program all non-critical blocks | | /Kn - Program n th non-critical block only(n=0-7) | | /Q - Silent execution | | /REBOOT - Reboot after programming | | /X - Don t Check ROM ID | | /S - Display current system s ROMID | | /Ln - Load CMOS defaults
Date : 2008-10-13 Size : 228.12kb User : rr

一个AD9851的驱动。用的并行时序。 现在把程序和电路图发上来,大家帮帮我看看问题出在那里。谢谢了。 要是有做成功的能共享一下电路和程序感激! main.c
Date : 2008-10-13 Size : 882byte User : 张水

这是一个学生成绩管理系统,其中“I”表示插入,“L”表示浏览,“Q”表示查询, “E”表示退出,“D”表示删除,“M”表示修改,\"c\"表示统计各分数段人数,\"p\"表示打印. 本程序实现了: (1)单独运行以上各功能,即在进入主菜单以后,点一功能键后关闭,再进入主菜单 点别的功能键。如运行\"cjgl\"文件后,在出现的主界面中点“I”,可插入数据,插入完 以后,关闭;在出现的主界面中点“M”,可修改数据,修改完以后关闭,用同样的方法 可运行其它的功能。 (2)连续运行部分的功能。-This is a performance management system for students, "I" to insert said, "L" said View, "Q" said inquiries, "E" from "D" to delete said, "M" said the amendments, "c", said Statistics the fraction of the number of "p" said Print. this procedure was realized : (a) separate operations over the function, which is to enter the main menu after a point after the closure of function keys, and entered the main menu point other function keys. To run "cjgl documents" in the main interface midpoint "I" can be inserted in the data, insert, after closing; At the midpoint of the main interface, "M", may revise the data, modify, after the closure, the same method can run other functions. (2) of c
Date : 2008-10-13 Size : 80.19kb User : 赵钱孙

这是一个学生成绩管理系统,其中“I”表示插入,“L”表示浏览,“Q”表示查询, “E”表示退出,“D”表示删除,“M”表示修改,"c"表示统计各分数段人数,"p"表示打印. 本程序实现了: (1)单独运行以上各功能,即在进入主菜单以后,点一功能键后关闭,再进入主菜单 点别的功能键。如运行"cjgl"文件后,在出现的主界面中点“I”,可插入数据,插入完 以后,关闭;在出现的主界面中点“M”,可修改数据,修改完以后关闭,用同样的方法 可运行其它的功能。 (2)连续运行部分的功能。-This is a performance management system for students, "I" to insert said, "L" said View, "Q" said inquiries, "E" from "D" to delete said, "M" said the amendments, "c", said Statistics the fraction of the number of "p" said Print. this procedure was realized : (a) separate operations over the function, which is to enter the main menu after a point after the closure of function keys, and entered the main menu point other function keys. To run "cjgl documents" in the main interface midpoint "I" can be inserted in the data, insert, after closing; At the midpoint of the main interface, "M", may revise the data, modify, after the closure, the same method can run other functions. (2) of c
Date : 2025-12-19 Size : 80kb User : 赵钱孙

一个AD9851的驱动。用的并行时序。 现在把程序和电路图发上来,大家帮帮我看看问题出在那里。谢谢了。 要是有做成功的能共享一下电路和程序感激! main.c -An AD9851 driver. Timing used in parallel. Now that the procedures and schematics hair up, everyone help me to see the problem there. Thank you. If success has to do to share about the circuit and procedures grateful! main.c
Date : 2025-12-19 Size : 1kb User : 张水

交通灯程序。C语言开发,在51的处理器中运行。-Procedures for traffic lights. C language development, the 51 processor run.
Date : 2025-12-19 Size : 1kb User : 张金平

51读写u盘 uart.c main.c rwudiskdemo.c-51 mcu read u disk
Date : 2025-12-19 Size : 68kb User : younger

这是一个关于关键路口智能立体交通灯系统的c程序-This is a key junction on the three-dimensional intelligent traffic signal systems c procedures
Date : 2025-12-19 Size : 2kb User : merry

mina.c主程序专用驱动C程序 有需要的朋友可与我联系-this is my C
Date : 2025-12-19 Size : 1kb User : icemanyulong

单片机C语言编写的LED七彩渐变,带主分控程序,主控发控制信号使各分控同步输出。-C single-chip LED colorful language gradually, with the main sub-control procedures, hair master control signal so that the sub-synchronous output control.
Date : 2025-12-19 Size : 17kb User : yangliu

8051 keil ,c 連續key的scank寫法,有短按,長按,按超過3秒-8051 keil ,c key scan,has short key,long press key,over 3 second key
Date : 2025-12-19 Size : 1kb User : richard

要求把从键盘输入的0~FFFFH的十六进制正数转换为十进制数并在屏幕上显示出来。程序主要由十六进制转换二进制、二进制转换十进制两个子程序组成,可将主程序和子程序放在同一程序模块中,在子程序中省略对寄存器的保护和恢复工作,子程序之间的参数传送则采用寄存器传送方式-Demanded from the keyboard input 0 ~ FFFFH hexadecimal number is converted to a decimal number and displayed on the screen. Mainly by the hex conversion program binary, binary conversion decimal composed of two subroutines can be on the same main program and subroutine program modules, in the subroutine is omitted on the register in the protection and recovery efforts, among subroutines parameters of transmission transmission mode is applied Register
Date : 2025-12-19 Size : 30kb User : 张陆军

主要介绍线性结构,树型结构,图状结构三种逻辑结构元素的存储实现,在此基础上介绍一些典型算法及时,空效率分析.-Introduces the linear structure, tree structure, graph-like structure of three elements of the logical structure of the storage to achieve, on this basis are some typical algorithms in time, space efficiency analysis. The main task of this course is to train students algorithm design capability and good programming habits. Through the study, requiring students to master the classic algorithm design and program implementation, to select the appropriate question based on the actual design of a compact storage, efficient and practical algorithm for the following courses of study and lay a good foundation for software development.
Date : 2025-12-19 Size : 362kb User : pan

机C语言程序设计实训——基于8051+Proteus仿真:继电器控制照明设备(压缩包),程序完整-Machine C Programming Language Training- 8051+ Proteus based simulation: relay control lighting equipment (compressed package), the program integrity
Date : 2025-12-19 Size : 19kb User : 青云

用c语言编写一个通讯录,并对他进行增加,查询,删除,修改,显示记录等操作,要写出源代码并画出流程图.. 编程要求: 在编写的程序中应该包括以下模块 第一个模块--主函数main()的功能是:根据选单的选项调用各函数,并完成相映的功能. 第二个模块--Menu()的功能是:显示英文提示选单. 第三个模块--Quit()的功能是推出选单. 第四个模块--Creat()的功能是:创建新的通讯录. 第五个模块--Add()的功能是:在通讯录的末尾,写入新的信息,并返回选单. 第六个模块--Find()的功能是:查询某人的信息如果找到了,则显示该人的信息,如果未找到,则显示通讯录中没有此人的信息,并返回选单。 第七个模块--Alter()的功能是:删除某人的信息,并返回选单。 第八个模块--Delete()的功能是:删除某人的信息,如果未找到要修改的某人的信息,则提示通讯录中没有此人的信息,并返回选单。 第九个模块--List的功能是:显示通讯录中的所有记录。 -An address book, and to add, query, delete, modify, display records of operations c language source code to write and draw a flow chart .. Programming requirements: Should include the following modules in a program written in The first module- the main function main () function call each function: according to the menu options, and complete the matched features. The second module- Menu () function is: English prompts menu is displayed. The third module- Quit () function is the launch menu. The fourth module- Create () functions are: to create a new address book. The fifth module- Add () function: new information is written at the end of the address book, and to return to the menu. The sixth module- Find () function: the query someone if found, display the information of the person, if it is not found, then the address book do not have this information and return to the menu. The seventh module- Alter () function: delete a person s information and return to the menu. The eight
Date : 2025-12-19 Size : 2kb User : cus

usbasp atmega8 c code
Date : 2025-12-19 Size : 2kb User : SUBHENDU MONDAL

1.输入一行文字,找出其中大写字母、小写字母、数字字符、空格以及其他字符各多少。。要求编写一个函数实现统计功能,在主函数中输入一行文字、调用统计函数并输出统计结果。 2.写一个函数实现两个字符串连接,在主函数中输入和输出字符串,要求用字符指针变量作行参和实参-1. Enter the line of text to find out where the uppercase letters, lowercase letters, numbers, characters, spaces, and other characters of each number. . We asked to write a function to achieve statistical functions, enter a line of text in the main function, call the statistical functions and output statistics. 2. Write a function to achieve two string concatenation, the main function of the input and output strings, as requested by the character pointer variable line arguments and arguments
Date : 2025-12-19 Size : 2kb User : 江雪
« 12 3 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.