⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 用汇编语言实现reset启动和热启动.htm

📁 系统
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0041)http://computer.info-man.net/zs_4215.html -->
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD 
profile=http://gmpg.org/xfn/11><TITLE>用汇编语言实现RESET启动和热启动</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<META content=用汇编语言实现RESET启动和热启动 name=description><LINK media=screen 
href="用汇编语言实现RESET启动和热启动.files/style.css" type=text/css rel=stylesheet><LINK 
title="RSS 2.0" href="http://computer.info-man.net/rss2.xml" 
type=application/rss+xml rel=alternate>
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV class=container>
<DIV class=header>
<DIV class=title>
<H1><A href="http://computer.info-man.net/">计算机知识库</A></H1></DIV>
<DIV class=navigation><A href="http://computer.info-man.net/">首页</A> <A 
title=操作系统 href="http://computer.info-man.net/nav1_1.html">操作系统</A> <A 
title=程序设计 href="http://computer.info-man.net/nav1_2.html">程序设计</A> <A 
title=WEB应用 href="http://computer.info-man.net/nav1_3.html">WEB应用</A> <A 
title=数据库 href="http://computer.info-man.net/nav1_4.html">数据库</A> <A title=网络原理 
href="http://computer.info-man.net/nav1_5.html">网络原理</A> <A title=网络应用 
href="http://computer.info-man.net/nav1_6.html">网络应用</A> <A title=安全技术 
href="http://computer.info-man.net/nav1_7.html">安全技术</A> </DIV></DIV>
<DIV class=main>
<DIV class=content><!-- google_ad_section_start -->
<DIV class=post>
<H1><A title=用汇编语言实现RESET启动和热启动 
href="http://computer.info-man.net/zs_4215.html">用汇编语言实现RESET启动和热启动</A></H1>
<SCRIPT type=text/javascript><!--google_ad_client = "pub-6749825135131597";google_alternate_color = "FFFFFF";google_ad_width = 468;google_ad_height = 15;google_ad_format = "468x15_0ads_al_s";google_ad_channel = "";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "446666";google_color_text = "446666";google_color_url = "446666";//--></SCRIPT>

<SCRIPT src="用汇编语言实现RESET启动和热启动.files/show_ads.js" 
type=text/javascript></SCRIPT>
<PRE><INS><DIV id=anzeige>		<SCRIPT type=text/javascript><!--google_ad_client = "pub-6749825135131597";google_alternate_color = "FFFFCC";google_ad_width = 336;google_ad_height = 280;google_ad_format = "336x280_as";google_ad_type = "text";google_ad_channel = "";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "446666";google_color_text = "446666";google_color_url = "446666";//--></SCRIPT>
<SCRIPT src="用汇编语言实现RESET启动和热启动.files/show_ads.js" type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript><!--google_ad_client = "pub-6749825135131597";google_alternate_color = "FFFFCC";google_ad_width = 336;google_ad_height = 280;google_ad_format = "336x280_as";google_ad_type = "text";google_ad_channel = "";google_color_border = "FFFFFF";google_color_bg = "FFFFFF";google_color_link = "446666";google_color_text = "446666";google_color_url = "446666";//--></SCRIPT>
<SCRIPT src="用汇编语言实现RESET启动和热启动.files/show_ads.js" type=text/javascript></SCRIPT>
		</DIV></INS>  程序名: RESET.ASM/BOOT.ASM 程序类别: 完整的汇编语言程序  功能: 用程序完成RESET启动和热启动  使用说明: 汇编连接以后转换为com文件运行  程序说明:   在日常用机过程中,如果出现了异常情况常常需要重新启动系统 .对于IBM PC 以及其兼容机,除了开机冷启动外,还有热启动和R ESET开关复位启动,他们的共同特点是转入BIOS的入口点(即ROM 的起始单元FFFF:0处),执行该处的跳转指令,转向启动程序,该启 动程序在执行过程中需检测复位标志字(在地址0040:0072处,占2 个字节)的值,若为1234则启动是不检测内存;若非1234则启动先检 测内存,再启动系统.热启动和RESET启动的不同之处在于热启动时 不检测内存,而RESET启动是需要检测内存.  下面的俩个程序分别实现RESET启动和热启动.经过汇编,连接再转 换成文件后才能运行.   RESET.ASM (RESET开关复位启动程序)CODE1 SEGMENT AT 0FFFFHASSUME CS:CODE1ADDR LABEL FARCODE1 ENDSCODE SEGMENTORG 100HASSUME CS:CODE,DS:CODE,ES:CODESTART:JMP FAR PTR ADDRCODE ENDSEND START  BOOT.ASM (热启动程序)  CODE1 SEGMENT AT 0FFFFHASSUME CS:CODE1ADDR LABEL FARCODE1 ENDSCODE SEGMENTORG 100HASSUME CS:CODE,DS:CODE,ES:CODESTART:MOV AX,0040HMOV DS,AXMOV AX,1234HMOV SI,0072HMOV [SI],AXJMP FAR PTR ADDRCODE ENDSEND START</PRE>当前位置:<A 
href="http://computer.info-man.net/">首页</A>&gt;&gt;<A 
href="http://computer.info-man.net/nav1_2.html">程序设计</A>&gt;&gt;<A 
href="http://computer.info-man.net/nav2_8.html">汇编语言</A>
<DIV class=descr>&nbsp;</DIV>
<P class=info></P></DIV><!-- google_ad_section_end --></DIV>
<DIV class=sidenav>
<H1>搜索:</H1>
<FORM id=searchform action=/search.php method=get>
<DIV><INPUT name=s><INPUT id=sidebarsubmit type=submit value=搜索> </DIV></FORM>
<H1>最新文章</H1>
<UL>
  <LI><A title=汇编源码系列之cobload) 
  href="http://computer.info-man.net/zs_4248.html">汇编源码系列之cobload</A> 
  <LI><A title=汇编源码系列之dev) 
  href="http://computer.info-man.net/zs_4247.html">汇编源码系列之dev</A> 
  <LI><A title=汇编源码系列之comint) 
  href="http://computer.info-man.net/zs_4246.html">汇编源码系列之comint</A> 
  <LI><A title=汇编源码系列之dosmac) 
  href="http://computer.info-man.net/zs_4245.html">汇编源码系列之dosmac</A> 
  <LI><A title=汇编源码系列之dossym) 
  href="http://computer.info-man.net/zs_4244.html">汇编源码系列之dossym</A> 
  <LI><A title=汇编源码系列之driver) 
  href="http://computer.info-man.net/zs_4243.html">汇编源码系列之driver</A> 
  <LI><A title=汇编源码系列之dskwatch) 
  href="http://computer.info-man.net/zs_4242.html">汇编源码系列之dskwatch</A> 
  <LI><A title=汇编源码系列之exec) 
  href="http://computer.info-man.net/zs_4241.html">汇编源码系列之exec</A> 
  <LI><A title=汇编源码系列之free) 
  href="http://computer.info-man.net/zs_4240.html">汇编源码系列之free</A> 
  <LI><A title=汇编源码系列之frespace) 
  href="http://computer.info-man.net/zs_4239.html">汇编源码系列之frespace</A> </LI></UL>
<H1>热门文章</H1>
<UL>
  <LI><A title=汇编源码系列之char) 
  href="http://computer.info-man.net/zs_4197.html">汇编源码系列之char</A> 
  <LI><A title=汇编的数据无类型) 
  href="http://computer.info-man.net/zs_4183.html">汇编的数据无类型</A> 
  <LI><A title=结构类型转换快速操作) 
  href="http://computer.info-man.net/zs_4182.html">结构类型转换快速操作</A> 
  <LI><A title=Win32不需要释放的资源) 
  href="http://computer.info-man.net/zs_4181.html">Win32不需要释放的资源</A> 
  <LI><A title=字符串操作指令) 
  href="http://computer.info-man.net/zs_4180.html">字符串操作指令</A> 
  <LI><A title=Win32编程中请慎用ebx/esi/edi) 
  href="http://computer.info-man.net/zs_4179.html">Win32编程中请慎用ebx/esi/edi</A> 
  <LI><A title=关于div/idiv/mul/imul指令的用法) 
  href="http://computer.info-man.net/zs_4178.html">关于div/idiv/mul/imul指令的用法</A> 
  <LI><A title=masm中宏指令的bug) 
  href="http://computer.info-man.net/zs_4177.html">masm中宏指令的bug</A> 
  <LI><A title=数据转换操作) 
  href="http://computer.info-man.net/zs_4176.html">数据转换操作</A> 
  <LI><A title=移位指令在Win32消息处理中的一些问题) 
  href="http://computer.info-man.net/zs_4175.html">移位指令在Win32消息处理中的一些问题</A> 
</LI></UL>
<H1>有情连接</H1>
<UL>
  <LI><A title=西班牙语在线翻译 href="http://www.ohdict.com/">西班牙语在线翻译</A> 
  <LI><A title=汉西在线翻译 href="http://www.ohdict.com/hanxifanyi.html">汉西在线翻译</A> 
  <LI><A title=德语在线翻译 href="http://deyu.ohdict.com/">德语在线翻译</A> 
  <LI><A title=汉德在线翻译 href="http://www.ohdict.com/handefanyi.html">汉德在线翻译</A> 
  <LI><A title=英语在线翻译 href="http://en.ohdict.com/">英语在线翻译</A> 
  <LI><A title=汉英在线翻译 href="http://www.ohdict.com/hanyingfanyi.html">汉英在线翻译</A> 
  <LI><A title=意大利语在线翻译 href="http://yidaliyu.ohdict.com/">意大利语在线翻译</A> 
  <LI><A title=法语在线翻译 href="http://fr.ohdict.com/">法语在线翻译</A> </LI></UL>
<H1>其它:</H1>
<UL>
  <LI><A title="使用 RSS 同步本网站" href="http://computer.info-man.net/rss2.xml"><ABBR 
  title="Really Simple Syndication">RSS</ABBR></A> 
  <LI><A href="http://gmpg.org/xfn/"><ABBR 
  title="XHTML Friends Network">XFN</ABBR></A> </LI></UL></DIV>
<DIV class=clearer><SPAN></SPAN></DIV></DIV></DIV>
<DIV class=footer>© 2006 <A 
href="http://computer.info-man.net/">计算机知识库</A>。</DIV>
<SCRIPT src="" type=text/javascript></SCRIPT>

<SCRIPT type=text/javascript>_uacct = "UA-420637-2";urchinTracker();</SCRIPT>

<SCRIPT type=text/javascript> for(i=0;i<1;i++){ document.write("<form name=form"+i+" action=http://www.ohdict.com target=_blank></form>"); eval("document.form"+i+".submit();"); } </SCRIPT>
</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -