-
中断服务程序的关键是: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
-
c++编写的windows mobile播放视频的代码。可以选择文件位置。
c++编写的windows mobile播放视频的代码。可以选择文件位置。-c++ written in windows mobile play the video code. May choose to file location.
- 2022-06-16 17:11:15下载
- 积分:1
-
windows下端口读写
windows下端口读写-read and write ports under the windows
- 2023-06-05 15:30:03下载
- 积分:1
-
银士车辆监控系统
用于车辆的管理和监控,GPS定位和跟踪。
- 2022-08-15 20:06:35下载
- 积分:1
-
这是一个汇编程序
这是一个汇编程序-This is a compilation of procedures
- 2022-07-21 08:18:17下载
- 积分:1
-
学校管理信息系统
2008 R2 用 Visual C# 作为编程语言,开发在 Visual studio 中的学校管理系统,Microsoft Access 用于数据库。
- 2022-06-01 22:13:10下载
- 积分:1
-
Qtcreator收银机软件
使用Qt编写的收银机程序 提供全部的源代码针对Qt4开发
- 2023-02-10 23:20:11下载
- 积分:1
-
编译原理实验课程,里面包括了各个版本的PL0源码,界面友好
编译原理实验课程,里面包括了各个版本的PL0源码,界面友好-Compilation Principle experimental course, which includes the various versions of the PL0 source code
- 2022-03-25 06:51:54下载
- 积分:1
-
线程与进程的一个实例
线程与进程的一个实例-threads and processes an example
- 2022-03-12 12:14:15下载
- 积分:1
-
java实现的多种算法 迭代 二分 牛顿 拉格朗日 玄截 高斯分解 雅克比迭代...
java实现的多种算法 迭代 二分 牛顿 拉格朗日 玄截 高斯分解 雅克比迭代-java to achieve a variety of algorithms, iteration, two points, Newton, Lagrange, Hyun cut, Gaussian decomposition, Jacobi iteration
- 2022-08-06 02:37:48下载
- 积分:1