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

📄 汇编语言指令集(二)_一起来分享彼此的喜悦,笑看人生!!!.htm

📁 压缩包里包括的51的C与汇编的混合编程
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0065)http://hi.baidu.com/an713/blog/item/7034bd6effc615d981cb4a82.html -->
<!--STATUS OK--><HTML><HEAD><TITLE>汇编语言指令集(二)_一起来分享彼此的喜悦,笑看人生!!!</TITLE>
<META http-equiv=content-type content="text/html; charset=gb2312">
<STYLE>.error {
	FONT-SIZE: 12px; COLOR: #ff0000
}
</STYLE>

<SCRIPT language=javascript 
src="汇编语言指令集(二)_一起来分享彼此的喜悦,笑看人生!!!.files/popup.js"></SCRIPT>

<SCRIPT language=JavaScript 
src="汇编语言指令集(二)_一起来分享彼此的喜悦,笑看人生!!!.files/g_spjs.js"></SCRIPT>

<SCRIPT language=javascript>
<!--

var allkey="";
var i=0;
var flag=0;
function setpv(allnum)
{
	var num = allnum.split('_');
	document.getElementById("result").innerHTML=num[0];
}
		 
function checkMail(s) 
{ 
  	var pattern=/\w+@\w+\.[a-z]+/; 
  	if(pattern.test(s)) 
    { 
       return true; 
    } 
  	else 
   { 
      return false; 
   } 
} 


function checkeandu(eanduid)
{
	var eanduvalue=G(eanduid).value;
	var len=bytes(eanduvalue);
	if(len>128)
	{
		showErr(2,"您输入的网址或邮箱太长,请保持在128字节以内。");
		return false;
	}
	else
	{ 
		 return true;
	}
		
}

function cmtdel(str)
{
	var pop=new Popup({ contentType:3,isReloadOnClose:false,width:340,height:80});
	pop.setContent("title","删除评论");
	pop.setContent("confirmCon","您确定要彻底删除这条评论吗?");
	pop.setContent("callBack",delCallback2);
	pop.setContent("parameter",{fid:str,popup:pop});
	pop.build();
	pop.show();
	return false;
}
function delCallback2(para)
{
	var o_pop=para["popup"];
	o_pop.config.contentType=1;
	o_pop.setContent("contentUrl","");
	o_pop.reBuild();
	G(para["fid"]).target=o_pop.iframeIdName;
	eval("document."+para["fid"]).submit();
}



function checkname(strid)
{
	var ele=document.getElementById(strid);
	var len=bytes(ele.value);
	if(len>49)
	{
		showErr(1,"您输入的姓名太长,请保持在49字节以内。");
		return false;
	}
	else 
	{		
		if(len==0)
		{
			document.getElementById(strid).value="匿名网友";
		}
		 return true;
	}	
	
}

function checktext(textid)
{
		document.getElementById(textid).value=trimlr(textid);
		var str=trimrn(textid);
		len=str.length;
		if(len==0 || ((/^[\s, ]+$/gi).test(str)) )
		{
			showErr(3,"您必须输入评论内容,请检查。");
			return false;
		}
		else 
		{
				if(len>1000)
				{
					showErr(3,"您输入的评论内容太长,请保持在500字以内。");
					return false;
				}
			return true;
		}	
}

function showErr(index,str)
{
	G(index+"_err").style.display="";
	G(index+"_err_con").innerHTML=str;
}
function hidErr(index)
{
	G(index+"_err").style.display="none";
	G(index+"_err_con").innerHTML="";
}

function alertPop(tit,con)
{
	var pop=new Popup({ contentType:4,isReloadOnClose:false,width:340,height:80});
	pop.setContent("title",tit);
	pop.setContent("alertCon",con);
	pop.build();
	pop.show();
}

function cmtfull()
{
	var cnum=0;
	if(cnum>=50000)
	{
		alertPop("发表评论","单篇日志评论数最多为50000条.");
		return false;
	}
	else
	{
		return true;
	}
}

function checkcmtform()
{
	if(checkname("spBlogCmtor")&&checkeandu("spBlogCmtURL")&&checktext("spBlogCmtText")&&cmtfull())
	{
		submitForm();
		return true;
	}
	else
	{
		return false;
	}
}

var g_pop=null;
function submitForm()
{
	g_pop=new Popup({ contentType:1,isReloadOnClose:false,width:340,height:80});
	g_pop.setContent("title","添加评论");
	g_pop.setContent("contentUrl","");
	g_pop.setContent("someDisabledBtn","btn_ok");
	g_pop.build();
	G("popFormSubmit").target=g_pop.iframeIdName;
	g_pop.show();
}

function g_close_pop()
{
	g_pop.close();
}

function formatonlinpic()
{
var picobj=document.getElementsByName("onlinepic");
var picnum=picobj.length;
	
	for(var i=0;i<picnum;i++)
	{
		if(picobj[i].width>200)
		{
			picobj[i].width=200;
		}
		if(picobj[i].height>200)
		{
			picobj[i].height=200;
		}
	}

}

function addToFavor(){
var blogTitle='汇编语言指令集(二)'.replace(/&#39;/g,'\'');
window.open('http://cang.baidu.com/do/add?it='+encodeURIComponent(blogTitle+'_百度空间')+'&iu='+encodeURIComponent(location.href)+'&fr=sp#nw=1','_s','scrollbars=no,width=600,height=450,right=75,top=20,status=no,resizable=yes'); 
return false;
}

//-->
</SCRIPT>

<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY onload=formatonlinpic();>
<CENTER>
<SCRIPT language=JavaScript>
<!--
if (top.location != self.location) 
{
	top.location=self.location;
}
//-->
</SCRIPT>
<LINK href="汇编语言指令集(二)_一起来分享彼此的喜悦,笑看人生!!!.files/43d90f30be34eb99a9018e96.css" 
type=text/css rel=stylesheet><LINK 
href="汇编语言指令集(二)_一起来分享彼此的喜悦,笑看人生!!!.files/space.css" type=text/css 
rel=stylesheet>
<STYLE type=text/css>#usrbar {
	PADDING-RIGHT: 10px; PADDING-LEFT: 0px; FONT-SIZE: 12px; BACKGROUND: #ffffff; FILTER: alpha(opacity=65); PADDING-BOTTOM: 3px; WIDTH: 100%; COLOR: #000000; LINE-HEIGHT: 19px; PADDING-TOP: 4px; FONT-FAMILY: Arial; LETTER-SPACING: normal; HEIGHT: 19px; TEXT-ALIGN: right; moz-opacity: 0.5
}
#usrbar A {
	COLOR: #0000cc; TEXT-DECORATION: underline
}
#usrbar A:link {
	COLOR: #0000cc; TEXT-DECORATION: underline
}
#usrbar A:visited {
	COLOR: #0000cc; TEXT-DECORATION: underline
}
#ft {
	CLEAR: both; FONT-SIZE: 12px; COLOR: #666666; LINE-HEIGHT: 20px; FONT-FAMILY: Arial; HEIGHT: 20px; TEXT-ALIGN: center
}
#ft A {
	COLOR: #7777cc; TEXT-DECORATION: underline
}
#ft A:link {
	COLOR: #7777cc; TEXT-DECORATION: underline
}
#ft A:visited {
	COLOR: #7777cc; TEXT-DECORATION: underline
}
#usrbar {
	LETTER-SPACING: normal
}
#usrbar A {
	LETTER-SPACING: normal
}
#usrbar A:link {
	LETTER-SPACING: normal
}
#usrbar A:visited {
	LETTER-SPACING: normal
}
#ft {
	LETTER-SPACING: normal
}
#ft A {
	LETTER-SPACING: normal
}
#ft A:link {
	LETTER-SPACING: normal
}
#ft A:visited {
	LETTER-SPACING: normal
}
</STYLE>

<DIV id=usrbar><NOBR>
<SCRIPT> var myref = encodeURI("http://hi.baidu.com/an713/blog/item/7034bd6effc615d981cb4a82%2Ehtml");</SCRIPT>
<A href="http://www.baidu.com/" target=_blank>百度首页</A> | <A 
href="http://hi.baidu.com/" target=_blank>百度空间</A>
<SCRIPT language=JavaScript>
        document.write(" | <a href='http://passport.baidu.com/?login&tpl=sp&tpl_reg=sp&u="+myref+"'>登录</a>");
        </SCRIPT>
 </NOBR></DIV>
<DIV id=main align=left><!--[if IE]>
<SCRIPT>
var objmain = document.getElementById("main");
function updatesize(){ var bodyw = window.document.body.offsetWidth; if(bodyw <= 790) objmain.style.width="772px"; else if(bodyw >= 1016) objmain.style.width="996px"; else objmain.style.width="100%"; }
updatesize(); window.onresize = updatesize;
</SCRIPT>
<![endif]-->
<DIV id=header>
<DIV class=lc>
<DIV class=rc></DIV></DIV>
<DIV class=tit><A class=titlink title="an713的空间 http://hi.baidu.com/an713" 
href="http://hi.baidu.com/an713">一起来分享彼此的喜悦,笑看人生!!!</A></DIV>
<DIV class=desc>资源共享</DIV>
<DIV id=tabline></DIV>
<DIV id=tab><A href="http://hi.baidu.com/an713">主页</A><A class=on 
href="http://hi.baidu.com/an713/blog">博客</A><A 
href="http://hi.baidu.com/an713/album">相册</A><SPAN>|</SPAN><A 
href="http://hi.baidu.com/an713/profile">个人档案</A> <SPAN>|</SPAN><A 
href="http://hi.baidu.com/an713/friends">好友</A> </DIV></DIV>
<DIV class=stage>
<DIV class=stagepad>
<DIV style="WIDTH: 100%">
<TABLE class=modth cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD class=modtl width=7>&nbsp;</TD>
    <TD class=modtc noWrap>
      <DIV class=modhead><SPAN class=modtit>查看文章</SPAN></DIV></TD>
    <TD class=modtc noWrap align=right></TD>
    <TD class=modtr width=7>&nbsp;</TD></TR></TBODY></TABLE>
<DIV class=modbox id=m_blog>
<DIV class=tit>汇编语言指令集(二)</DIV>
<DIV class=date>2007-10-03 上午 08:51</DIV>
<TABLE style="TABLE-LAYOUT: fixed">
  <TBODY>
  <TR>
    <TD>
      <DIV class=cnt>
      <P><FONT color=#ff0000 size=5>汇编语言指令集(二)</FONT></P>
      <P><FONT color=#0000ff size=4><FONT 
      color=#ff00ff>五、程序转移指令</FONT><BR>───────────────────────────────────────<BR> 1&gt;无条件转移指令 
      (长转移)<BR>JMP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 无条件转移指令<BR>CALL 
      过程调用<BR>RET/RETF过程返回.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&gt;条件转移指令 
      (短转移,-128到+127的距离内)<BR>( 当且仅当(SF XOR OF)=1时,OP1&lt;OP2 )<BR>JA/JNBE 
      不小于或不等于时转移.<BR>JAE/JNB 大于或等于转移.<BR>JB/JNAE 小于转移.<BR>JBE/JNA 
      小于或等于转移.<BR>以上四条,测试无符号整数运算的结果(标志C和Z).<BR>JG/JNLE 大于转移.<BR>JGE/JNL 
      大于或等于转移.<BR>JL/JNGE 小于转移.<BR>JLE/JNG 
      小于或等于转移.<BR>以上四条,测试带符号整数运算的结果(标志S,O和Z).<BR>JE/JZ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      等于转移.<BR>JNE/JNZ 不等于时转移.<BR>JC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      有进位时转移.<BR>JNC 无进位时转移.<BR>JNO 不溢出时转移.<BR>JNP/JPO 奇偶性为奇数时转移.<BR>JNS 符号位为 
      "0" 时转移.<BR>JO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 溢出转移.<BR>JP/JPE 

⌨️ 快捷键说明

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