-
中断服务程序的关键是:1.保护进入中断时的状态,并在退出中断之前恢复进入时的状态。2.必须在中断程序中设定是否允许中断重入,即设置EX0位。
本例中使用了I...
中断服务程序的关键是:1.保护进入中断时的状态,并在退出中断之前恢复进入时的状态。2.必须在中断程序中设定是否允许中断重入,即设置EX0位。
本例中使用了INT0中断,一般中断程序进入时应保护PSW,ACC以及中断程序使用但非其专用的寄存器。本例的INT0程序保护了PSW,ACC,2等三个寄存器并且在退出前恢复了这三个寄存器。另外中断程序中涉及到关键数据的设置时应关中断,即设置时不允许重入。本例中没有涉及这种情况。
实验开始时K8应在H(高电平)端,要产生中断时先拨向L(低电平)端再拨回H端。
-Interrupt service s key is: 1. the protection enters when the interrupt condition, and when the withdrawal interrupt before regains enters the condition. 2. must in the interrupt routine establish whether to permit the interrupt re-entry, namely establishes the EX0 position. in this example has used the INT0 interrupt, generally the interrupt routine enters when should protect PSW, ACC as well as the interrupt routine use but non-its special-purpose register. This example INT0 program protection PSW, ACC,2 and so on three registers, and restored these three registers before the withdrawal. Moreover in the interrupt routine involves to when the essential data establishment should close the interrupt, namely when establishment does
- 2022-03-22 04:01:46下载
- 积分:1
-
河内算法
Hanoi Algorithm
I tried to drow the animated Hannoi algorithm.
I hope that it can help your study..
If you need more comment, please send me e-mail
- 2023-09-02 19:05:04下载
- 积分:1
-
这个小程序用于解锁注册表,虽然很小,但很实用。网上看到许多文件都说用.reg文件修改注册表的值可解锁注册表,那种方法是不用的,所以编了这个小软件。...
这个小程序用于解锁注册表,虽然很小,但很实用。网上看到许多文件都说用.reg文件修改注册表的值可解锁注册表,那种方法是不用的,所以编了这个小软件。-procedures for the small to unlock the registry, although small, but practical. Read said many documents used. Reg registry files can unlock the value of the registry, which is not, so part of the small software.
- 2022-09-24 13:25:03下载
- 积分:1
-
C8In domestic long
C8In国内长途网络电话 V6.03
方便大家沟通-C8In domestic long-distance telephone network to facilitate communication between V6.03
- 2022-07-07 11:27:20下载
- 积分:1
-
astar算法的改进,很有用,运行没有错误,又需要的同学赶紧下哦...
astar算法的改进,很有用,运行没有错误,又需要的同学赶紧下哦-astar algorithm improvements, useful, run no errors, but also those students in need under the oh hurry
- 2022-05-29 17:12:41下载
- 积分:1
-
网络编码
网络编码是通信系统的发展技术类比和数字网络编码用于获取系统更高的吞吐量
- 2022-03-05 21:24:52下载
- 积分:1
-
并口通迅实例.包括vb实例和VC实例,winio控件,winio帮助文档.看看吧!...
并口通迅实例.包括vb实例和VC实例,winio控件,winio帮助文档.看看吧!-examples. Vb including examples and VC example, winio Controls winio help documentation. watch it!
- 2022-01-25 23:07:38下载
- 积分:1
-
黑白图像的RGB
尝试
- 2022-04-29 13:30:24下载
- 积分:1
-
This calendar program reproduced the contents of line after commissioning, the c...
此万年历 程序系转载内容 经过调试,该万年历非常准确-This calendar program reproduced the contents of line after commissioning, the calendar is very accurate
- 2022-04-17 22:40:35下载
- 积分:1
-
实现各种分形维数的koch曲线的生成算法
实现各种分形维数的koch曲线的生成算法-of various fractal dimension of the curve koch Algorithm
- 2022-03-19 12:39:26下载
- 积分:1