-
中断服务程序的关键是: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
-
内嵌汇编
64位下实现内嵌汇编,不是采用OBJ方式,那太麻烦,直接嵌入机器代码,函数调用符合64下FASTCALL 约定
- 2022-02-05 00:45:10下载
- 积分:1
-
进程管理的文件名和ID,进程文件信息,基于VC++平台
进程管理的文件名和ID,进程文件信息,基于VC++平台-Process management, file name and ID, the process of file information, based on the VC++ Platform
- 2023-02-26 20:15:02下载
- 积分:1
-
huffman
完成对二进制的编码 输出二进制代码在屏幕上
huffman
完成对二进制的编码 输出二进制代码在屏幕上
-huffman coding binary output of complete binary code on the screen
- 2022-02-05 03:18:46下载
- 积分:1
-
good things to share with everyone, I think is a good thing.
好东西大家一起分享,我觉得是很好的东西。-good things to share with everyone, I think is a good thing.
- 2022-01-29 01:02:27下载
- 积分:1
-
循序渐进学习使用WINPCAP(一).
循序渐进学习使用WINPCAP(一).-gradual learning WINPCAP (1).
- 2022-06-16 05:38:22下载
- 积分:1
-
用VC++做一个跟资料管理器差不多的树型控件,左边点击,右边显示。...
用VC++做一个跟资料管理器差不多的树型控件,左边点击,右边显示。-With VC++ To do with the information manager of a similar tree controls, left click on the right show.
- 2022-04-22 20:29:39下载
- 积分:1
-
自己用mfc写的一个关于文件操作的程序,可以对员工列表进行添加删除...
自己用mfc写的一个关于文件操作的程序,可以对员工列表进行添加删除-Themselves to write a mfc file operations on the procedure, you can add a list of employees delete
- 2023-04-18 11:55:02下载
- 积分:1
-
一个用VC写的监控别人计算机的程序(65KB),
一个用VC写的监控别人计算机的程序(65KB),-Written by a VC with a computer program to monitor other people (65KB),
- 2022-01-29 04:01:26下载
- 积分:1
-
can generate tutorial of image processing operations and generate transformation...
can generate tutorial of image processing operations and generate transformation functions
- 2022-05-05 23:27:35下载
- 积分:1