-
中断服务程序的关键是: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
-
扑克牌游戏,基于VC++6.0
益用来学习交流之用
扑克牌游戏,基于VC++6.0
益用来学习交流之用-Poker game, based on VC++6.0 is used to study the exchange of beneficial use
- 2022-03-29 16:06:24下载
- 积分:1
-
读者写者问题
操作系统中中线程同步时一个很重要的问题,而有时候同步却会造成死锁。为了解决这个问题,一种方式是通过信号量来实现线程调度。本代码使用c语言开发,vc++6.0 ide,在windows下运行。即可展示信号量在读者写者问题中的图形化界面表示。
- 2023-06-06 22:00:03下载
- 积分:1
-
ADS projects, three versions of 2410nboot, 1 months 2440nboot, used to guide the...
ADS工程,3个版本的2410nboot,1个2440nboot,用来在nand flash引导eboot或者CE操作系统镜像。其中的Nboot_2410(eboot)可以直接引导eboot,nboot位于sector 0,eboot位于sector 2,eboot大小256K(参数大小均可修改) Nboot_2410(toc)需要在sector 1中写入toc file,来引导eboot或者OS image。-ADS projects, three versions of 2410nboot, 1 months 2440nboot, used to guide the eboot in the nand flash or CE operating system image. Which Nboot_2410 (eboot) guide can be directly eboot, nboot located in sector 0, eboot located in sector 2, eboot size of 256K (the size parameter can be modified) Nboot_2410 (toc) need to write in the sector 1 in the toc file, to guide the eboot or OS image.
- 2022-02-24 12:26:06下载
- 积分:1
-
详细设计的目的就是指导编码,明确的说,就是将你的设计拿给不同的人去写编码,写出来的程序处理流程相同.后续的评审或者是有人接替你的工作,只要查看详细设计,就能清楚...
详细设计的目的就是指导编码,明确的说,就是将你的设计拿给不同的人去写编码,写出来的程序处理流程相同.后续的评审或者是有人接替你的工作,只要查看详细设计,就能清楚你当时是怎样设计这些流程的。-The purpose is to guide the detailed design codes, specifically, is that your design showed that different people to write code, written procedures for processing the same. Follow-up assessment or someone to replace your job, as long as View the detailed design, we can clearly understand how did you design these processes.
- 2023-06-15 03:20:03下载
- 积分:1
-
此函数计算Kullback-Leibler散度距离为高斯。
This function calculates the Kullback Leibler divergence distance for Gaussians.
- 2022-02-15 09:15:21下载
- 积分:1
-
Ping network. It can continue to print the network connections.
Ping network. it can continue to print the network connections.-Ping network. It can continue to print the network connections.
- 2023-06-27 12:55:03下载
- 积分:1
-
UG二次开发,实现feature浏览,UG二次开发,实现feature浏览
UG二次开发,实现feature浏览,UG二次开发,实现feature浏览-UG secondary development realize feature browser, UG secondary development realize feature browser
- 2022-01-25 14:26:26下载
- 积分:1
-
驱动安装和测试驱动,测试了并口读写速度,卸载驱动
驱动安装和测试驱动,测试了并口读写速度,卸载驱动-Driver installation and test-driven test the parallel port read and write speed, unload driver
- 2022-04-01 12:58:07下载
- 积分:1
-
用C编写设备驱动程序的示例
用C编写设备驱动程序的示例-C device drivers example
- 2022-05-06 20:45:52下载
- 积分:1