文件名称:interrupt
-
所属分类:
- 标签属性:
- 上传时间:2015-04-26
-
文件大小:3.44kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编一程序,在显示器上显示时、分、秒,借用计数器8253的Timer0作为中断源,通过8259A向CPU发送中断,每10ms产生一次中断。在中断服务程序中管理刷新时、分、秒。
输入文件名(如:CLK)后清屏显示:Current:xx:xx:xx(时分秒键盘输入),打回车,时分秒开始计时,始终不停刷新。当键入ctrl+c时,停止计时,返回系统,且系统正常运行不死机。
-Compile a program that is displayed on the monitor, minutes, seconds, borrow counter Timer0 8253 as the interrupt source by sending an interrupt to the 8259A CPU, an interrupt is generated every 10ms. When the interrupt service routine management refresh, minutes and seconds.
Enter the file name: After (such as CLK) clear screen display: Current: xx: xx: xx (keyboard input when minutes and seconds), hit Enter, minutes and seconds start time, and always kept refreshed. When you type ctrl+ c, stop the clock and return system, and the system is running without crashes.
输入文件名(如:CLK)后清屏显示:Current:xx:xx:xx(时分秒键盘输入),打回车,时分秒开始计时,始终不停刷新。当键入ctrl+c时,停止计时,返回系统,且系统正常运行不死机。
-Compile a program that is displayed on the monitor, minutes, seconds, borrow counter Timer0 8253 as the interrupt source by sending an interrupt to the 8259A CPU, an interrupt is generated every 10ms. When the interrupt service routine management refresh, minutes and seconds.
Enter the file name: After (such as CLK) clear screen display: Current: xx: xx: xx (keyboard input when minutes and seconds), hit Enter, minutes and seconds start time, and always kept refreshed. When you type ctrl+ c, stop the clock and return system, and the system is running without crashes.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CLK_2.OBJ
clk_1.asm
CLK_1.EXE
CLK_1.OBJ
clk_2.asm
CLK_2.EXE
clk_1.asm
CLK_1.EXE
CLK_1.OBJ
clk_2.asm
CLK_2.EXE
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.