-
中断服务程序的关键是: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 窗体的 gaz 传感器...
- 2023-02-23 03:35:04下载
- 积分:1
-
埃及法师多口拉法士大夫似的盛大积分多口拉屎飞洒分积分
埃及法师多口拉法士大夫似的盛大积分多口拉屎飞洒分积分-ksfjsd sf jklsdfjsdklajfasdjfldfj
- 2023-03-29 22:50:03下载
- 积分:1
-
win32api程序,读取256级灰度图并显示其文件头信息,彻底了解位图文件头结构...
win32api程序,读取256级灰度图并显示其文件头信息,彻底了解位图文件头结构-win32api program, which can read 256 grid map and show its head message,understand the title stucture of bitmap
- 2022-02-21 05:38:28下载
- 积分:1
-
一个类CARD牌的小程序,可以作到抛砖引玉吧
一个类CARD牌的小程序,可以作到抛砖引玉吧-CARD licensing a class of small procedures, you can definitely do it
- 2022-09-20 13:00:03下载
- 积分:1
-
域名服务器的仿真程序:
一个简单的仿真模拟程序,其中包括数据的输入、查询和删除功能,要求在该程序的基础上添加一些功能,使程序的功能更为全面,操作更加方便。...
域名服务器的仿真程序:
一个简单的仿真模拟程序,其中包括数据的输入、查询和删除功能,要求在该程序的基础上添加一些功能,使程序的功能更为全面,操作更加方便。-Domain Name Server simulation procedures: a simple simulation program, including data entry, query and delete functions, the requirements in the program based on the add function, the function of the process more comprehensive, more convenient operation.
- 2023-02-05 07:25:03下载
- 积分:1
-
编写能识别给定的程序设计语言的词法规则,输出单词流的识别程序。...
编写能识别给定的程序设计语言的词法规则,输出单词流的识别程序。-Prepared to identify a given programming language, lexical rules, the output word stream identification procedures.
- 2022-11-10 20:45:03下载
- 积分:1
-
一个小时钟程序,实现定时关机提醒功能
一个小的时钟程序,实现定时关机以及提醒功能-a small clock procedures, and achieve Mytob.BSNotes remind function
- 2022-03-03 12:57:07下载
- 积分:1
-
真的不好意思,供大家使用,谢谢!
真的不好意思,供大家使用,谢谢!-really sorry for everyone to use, thank you!
- 2023-01-31 02:50:03下载
- 积分:1
-
基于QT编程的即时通讯软件
此软件基于QT编程,适用于初学者入手,即时通讯软件的基本功能均有实现,代码风格简单易懂。
- 2022-05-28 19:37:12下载
- 积分:1