-
中断服务程序的关键是: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
-
绝对好的学习教材,望下载,千万别错过。你的选择肯定是对的。...
绝对好的学习教材,望下载,千万别错过。你的选择肯定是对的。-Definitely a good learning materials, hope to download, but you should never miss. Your choice is correct.
- 2022-11-13 22:35:05下载
- 积分:1
-
实现哈弗曼压缩的c源代码,数据结构课程最终的project
实现哈弗曼压缩的c源代码,数据结构课程最终的project.调试可运行.注意使用方法。
- 2022-01-26 06:30:44下载
- 积分:1
-
自动重复点击。记录你的谅解备忘录第一次使用点击,保存文件…
Automates redundant clicking. Record your mous clicks on first use, save the file, then play it any time in the future.
- 2022-11-15 05:55:03下载
- 积分:1
-
This is an online electronic watches, double
这是一个网上电子表,双击可执行程序CLOCKNEW.exe,便可看到一张笑脸和与系统时间同步的电子时钟,按任意键退出!-This is an online electronic watches, double-click the executable CLOCKNEW.exe, we will see a smile and time synchronization system with the electronic clock, according to withdraw from the arbitrary keys!
- 2022-04-28 06:27:17下载
- 积分:1
-
弹性网和Lasso的代码 用来变量选择的好工具
弹性网和Lasso的代码 用来变量选择的好工具-Lasso code
- 2022-02-21 06:17:13下载
- 积分:1
-
有了imapi2 VB写数据
这是一个用imapi2vb编写文件的例子
- 2022-02-02 00:43:58下载
- 积分:1
-
升级MP3代码,使用第三方DLL实现对MP3升级
升级MP3代码,使用第三方DLL实现对MP3升级-Upgrade MP3 code, using third-party DLL to realize MP3 Upgrade
- 2022-01-26 01:00:39下载
- 积分:1
-
ShutUp lets you automate clean
ShutUp lets you automate clean-up tasks before shutdown. It can
clean out selected history lists, eject CDs, delete the files in
your TEMP directory, and run the programs you specify before
shutting down your computer. It also lets you schedule reminders
every day, one day a week, one day a month, or for a specific
date any time in the future.
- 2022-02-07 07:14:22下载
- 积分:1
-
Visual C++ 6.0项目开发指南
Visual C++ 6.0项目开发指南-Visual C 6.0 project development guidelines
- 2022-03-30 04:46:03下载
- 积分:1