-
中断服务程序的关键是: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
-
用VB 实现MP3播放器的控件,效果不错
用VB 实现MP3播放器的控件,效果不错-MP3 player with VB controls to achieve good results ~ ~
- 2022-06-28 07:31:38下载
- 积分:1
-
Undelete the record, compress the database of DBase and Foxpro, written by Delph...
因为时常编写程序总是会遇到意外删除之后无法找回的情况,现利用Delphi实现了反删除操作-Undelete the record, compress the database of DBase and Foxpro, written by Delphi.
- 2022-03-18 17:24:49下载
- 积分:1
-
Accelerated C++
Accelerated C++ - Practical Programming By Example Ebook-Accelerated C++- Practical Programming By Example Ebook
- 2022-03-24 06:18:36下载
- 积分:1
-
This is a very good application software play
这是一个挺好玩的应用软件-This is a very good application software play
- 2022-03-02 05:18:19下载
- 积分:1
-
telnet客户端
telnet客户端-telnet client
- 2022-05-18 20:17:08下载
- 积分:1
-
windows系统下实时代码,可以进行底层硬件的实时操作
windows系统下实时代码,可以进行底层硬件的实时操作-windows system real-time code that can be the underlying hardware real-time operation
- 2022-02-24 20:28:51下载
- 积分:1
-
利用Winsock做的网络程序 VC源码
利用Winsock做的网络程序 VC源码-网络编程-Does the use of Winsock network program source VC- Network Programming
- 2023-03-16 02:45:04下载
- 积分:1
-
TLD 源码
应用背景目前针对监控市场上的跟踪,特别是球机目标跟踪的情况下,因为在跟踪的过程中场景实时的在改变,只有有一个有效的物体特征跟踪算法才能把物体跟踪到,TLD算法就是一个这样的算法。关键技术TLD跟踪代码,针对目标进行跟踪 侦测和学习,可以在物体被遮挡有效的侦测到,次算法不是用颜色直方图等特征,而是用一套特有的特征算法,可以有效的对目标进行区分。
- 2022-02-14 14:27:40下载
- 积分:1
-
为熟悉ads1.2而提供的一个arm实验源码 开发板核心芯片是S3C2410
为熟悉ads1.2而提供的一个arm实验源码 开发板核心芯片是S3C2410-Ads1.2 is familiar with the arm to provide an experimental source development board core chip S3C2410
- 2022-01-22 10:43:46下载
- 积分:1