防止微机失控简单而实用的方法

来源 :微计算机应用 | 被引量 : 0次 | 上传用户:tzt333333
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
微机系统受干扰后,经常发生指令指针PC出错指向错误地址,程序便转向这错误地址继续执行,造成程序失控。指令指针出错后指向的地址是随机的,即指向CPU可寻址空间的任何单元。对于大量应用微机系统,程序区只占CPU可寻址空间的很少一部分,这样PC出错指向程序区以外的可能性就很大。如果我们能够及时发现PC指针指向程序区以外,就可以防止大量的程序失控。要判断PC指针是否出了程序区,只要在微机CPU的取指令周期判断地址线即可,这在硬件上是非常容易做到的。 After the interference of the computer system, the PC pointer of the instruction pointer PC often points to the wrong address, and the program turns to the wrong address and continues to execute, causing the program out of control. The address pointed to by the instruction pointer error is random, that is, any cell that points to the CPU’s addressable space. For a large number of applications computer system, the program area only occupy a small part of the CPU addressable space, so PC error pointing outside the program area is very likely. If we can find out in time PC pointer outside the program area, you can prevent a large number of programs out of control. To determine whether the PC pointer out of the program area, as long as the computer CPU instruction fetch cycle to determine the address line, which is very easy to do in the hardware.
其他文献
OBJECTIVE To explore the role of histamine in acute pain perception.METHODS We studied the sensitivity to acute pain in histidine decarboxylase knockout mice(HD
OBJECTIVE To study the role of I1-Imidazoline receptor(I1R) in opioid dependence.METHODS Subcellular location of μ opioid receptor(MOR) and IRAS was investigat
目的 探讨小儿大肠埃希菌和肺炎克雷伯菌超广谱β-内酰胺酶(ESLBs)的耐药情况及防治措施。方法 对51例小儿患者细菌培养为大肠埃希菌和肺炎克雷伯菌的药物敏感率,结合临床
OBJECTIVE The aim of this study was to investigate the protection of minocycline in chronic ischemic cerebral white matter injury.METHODS Adult male mice(C57BL/
本文对非线性加权回归进行了详细的讨论,推导出了常用的非线性加权回归模型的权函数,指出了此种方法应用的局限性,介绍了这种方法在生物科学研究中的应用。 In this paper,
本文通过对江苏省不同农区土壤耕法调查和定位试验,比较了三种不同耕法对稻麦产量和土壤肥力的影响。结果表明,在同期播种的条件下,少、免耕麦增产机率大,且粘壤土大于砂壤土
北京市正和世纪机械电子公司的ZH系列消防电子产品具有很强的系统性、成套性、适用性。ZH1010型火灾报警控制器即为本公司最新一代产品。 ZH1010智能型微机通用火灾报警控制
卡车司机听力危害情况的调查研究连云港市卫生防疫站汪迪光张士军范德勇卡车司机受到噪声、振动双重危害,为了解其对听力损伤程度特作调查,现报告如下:1调查对象、内容和方法1.1调查
《中国新药杂志》创刊于1992年,系由国家食品药品监督管理局主管的药学类学术核心期刊。本刊系全国中文核心期刊、中国科技核心期刊、中国科技论文统计源期刊、中国期刊方阵
笔者遇到型号为ST—412的10兆硬盘损坏,进行FORMAT无法格式化,运行硬盘管理文件DM指示出0~5磁道损坏。对ST—412硬盘来说,0磁道至614磁道占用的实际工作区以外尚有微量的空间