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

📄 mega8学习笔记(11)-------cocoguojia 原创--单片机实验室-----嘉哥.htm

📁 AVR学习心得体会
💻 HTM
📖 第 1 页 / 共 3 页
字号:
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">格式一:</SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">#asm</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">……</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">#endasm</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><o:p><FONT 
                        face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">格式二:</SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">#asm(“……”)</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><o:p><FONT 
                        face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">下面是在</SPAN><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">C</FONT></SPAN><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中比较常用的嵌套汇编</SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><o:p><FONT 
                        face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">#asm</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">sec</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">clc</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">sei</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">cli</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">nop</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">sleep</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">wdr</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">#endasm</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><o:p><FONT 
                        face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">也可以</SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">#asm(“sei”)</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">#asm{“wdr”}</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">……</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><o:p><FONT 
                        face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">具体代表什么含义,请参考</SPAN><FONT 
                        face="Times New Roman"> </FONT><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">书</SPAN><SPAN 
                        lang=EN-US><FONT face="Times New Roman">P181 
                        </FONT></SPAN><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">第三章</SPAN><SPAN 
                        lang=EN-US><FONT face="Times New Roman"> 
                        ATmega8</FONT></SPAN><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">指令系统</SPAN><SPAN 
                        lang=EN-US><FONT face="Times New Roman"> 
                        </FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><o:p><FONT 
                        face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">另外在使用</SPAN><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">cvavr</FONT></SPAN><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">系统函数的时候,经常遇到:</SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">比如在用</SPAN><SPAN 
                        lang=EN-US><FONT face="Times New Roman">i<st1:chmetcnv 
                        UnitName="C" SourceValue="2" HasSpace="False" 
                        Negative="False" NumberType="1" TCSC="0" 
                        w:st="on">2c</st1:chmetcnv></FONT></SPAN><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">总线函数时,有</SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><o:p><FONT 
                        face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">#asm</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT face="Times New Roman">.equ 
                        __i<st1:chmetcnv UnitName="C" SourceValue="2" 
                        HasSpace="False" Negative="False" NumberType="1" 
                        TCSC="0" w:st="on">2c</st1:chmetcnv>_port = 
                        0x18</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">……</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">#endasm</FONT></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><o:p><FONT 
                        face="Times New Roman">&nbsp;</FONT></o:p></SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">注意:在</SPAN><SPAN 
                        lang=EN-US><FONT face="Times New Roman"> 
                        .equ</FONT></SPAN><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">和</SPAN><SPAN 
                        lang=EN-US><FONT 
                        face="Times New Roman">__</FONT></SPAN><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">之间要有至少一个“空格”</SPAN></P>
                        <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
                        lang=EN-US><FONT face="Times New Roman">.equ 
                        __i<st1:chmetcnv UnitName="C" SourceValue="2" 
                        HasSpace="False" Negative="False" NumberType="1" 
                        TCSC="0" w:st="on">2c</st1:chmetcnv>_port = 0x18 
                        </FONT></SPAN><SPAN 
                        style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这句相当于</SPAN><SPAN 
                        lang=EN-US><FONT face="Times New Roman"> #define<SPAN 
                        style="mso-spacerun: yes">&nbsp;&nbsp; 
                        </SPAN>__i<st1:chmetcnv UnitName="C" SourceValue="2" 
                        HasSpace="False" Negative="False" NumberType="1" 
                        TCSC="0" w:st="on">2c</st1:chmetcnv>_port<SPAN 
                        style="mso-spacerun: yes">&nbsp; 
                        </SPAN>0x18</FONT></SPAN></P></SPAN></TD></TR></TBODY></TABLE>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                    <TR>
                      <TD height=3>&nbsp;</TD></TR></TBODY></TABLE>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY class=seyle99>
                    <TR>
                      <TD>
                        <DIV align=right><A 
                        href="http://www.mcublog.com/blog/blog2007/cocoguojia/archives/2008/28352.html#">阅读全文<SPAN 
                        id=ob_logreaded></SPAN></A> | <A 
                        href="http://www.mcublog.com/blog/blog2007/cocoguojia/archives/2008/28352.html#cmt">回复(0)</A> 
                        <SPAN id=ob_logm28352></SPAN>| <A 
                        href="http://www.mcublog.com/blog/showtb.asp?id=28352" 
                        target=_blank>引用通告<SPAN id=ob_tbnum></SPAN></A> | <A 
                        href="http://www.mcublog.com/blog/user_post.asp?logid=28352" 
                        target=_blank>编辑</A></DIV></TD></TR></TBODY></TABLE>
                  <TABLE height=14 cellSpacing=0 cellPadding=0 width="100%" 
                  align=center border=0>
                    <TBODY>
                    <TR>
                      <TD 
            class=content5></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
            <DIV id=blogaddon>
            <LI>标签:<SPAN><A 
            href="http://www.mcublog.com/blog/blog2007/cocoguojia/cmd.html?uid=16550&amp;do=tag_blogs&amp;id=413">看门狗</A></SPAN>&nbsp;<SPAN><A 
            href="http://www.mcublog.com/blog/blog2007/cocoguojia/cmd.html?uid=16550&amp;do=tag_blogs&amp;id=485">mega8</A></SPAN>&nbsp;<SPAN><A 
            href="http://www.mcublog.com/blog/blog2007/cocoguojia/cmd.html?uid=16550&amp;do=tag_blogs&amp;id=5559">cvavr</A></SPAN>&nbsp;<SPAN><A 
            href="http://www.mcublog.com/blog/blog2007/cocoguojia/cmd.html?uid=16550&amp;do=tag_blogs&amp;id=5662">嵌套汇编</A></SPAN>&nbsp;</LI></DIV>
            <DIV id=morelog>
            <UL>
              <LI>上一篇:<A 
              href="http://www.mcublog.com/blog/blog2007/cocoguojia/archives/2008/28346.html">Mega8学习笔记(10.3.2)-------cocoguojia&nbsp;原创</A> 
              </LI></UL></DIV>
            <DIV id=form_comment>
            <DIV id=gg_usercomment></DIV><A name=cmt></A>
            <DIV class=title>发表评论:</DIV>
            <FORM id=commentform name=commentform 
            onsubmit="return Verifycomment()" 
            action=/blog/savecomment.asp?logid=28352 method=post>
            <DIV class=d1><LABEL>昵称:<INPUT id=UserName maxLength=20 
            name=UserName></LABEL></DIV>
            <DIV class=d2><LABEL>密码:<INPUT id=Password type=password 
            maxLength=20 name=Password> (游客无须输入密码)</LABEL></DIV>
            <DIV class=d3><LABEL>主页:<INPUT id=homepage maxLength=50 size=42 
            value=http:// name=homepage></LABEL></DIV>
            <DIV class=d4><LABEL>标题:<INPUT id=commenttopic maxLength=50 size=42 
            value=Re:Mega8学习笔记(11)-------cocoguojia&nbsp;原创 
            name=commenttopic></LABEL></DIV>
            <DIV class=d5><INPUT id=edit type=hidden name=edit> 
            <DIV id=oblog_edit>数据载入中...</DIV></DIV>
            <DIV class=d6><SPAN id=ob_code></SPAN><INPUT onclick='oblog_edittext.createTextRange().execCommand("Copy");' type=submit value=&nbsp;提&nbsp;交&nbsp;></DIV></FORM></DIV></TD></TR></TBODY></TABLE></DIV></TD>
    <TD vAlign=top align=right width=205><IMG height=425 alt="" 
      src="Mega8学习笔记(11)-------cocoguojia 原创--单片机实验室-----嘉哥.files/index_04.jpg" 
      width=150></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=1004 border=0>
  <TBODY>
  <TR>
    <TD vAlign=top bgColor=#f4f4f4><IMG height=18 alt="" 
      src="Mega8学习笔记(11)-------cocoguojia 原创--单片机实验室-----嘉哥.files/index_16.jpg" 
      width=1004> </TD></TR></TBODY></TABLE><SPAN id=gg_userbot></SPAN>
<DIV id=powered><A href="http://www.mcublog.com/" target=_blank><IMG 
alt="Powered by McuBLog." 
src="Mega8学习笔记(11)-------cocoguojia 原创--单片机实验室-----嘉哥.files/mcublog_powered.gif" 
border=0></A></DIV>
<SCRIPT 
src="Mega8学习笔记(11)-------cocoguojia 原创--单片机实验室-----嘉哥.files/200806.htm"></SCRIPT>

<SCRIPT 
src="Mega8学习笔记(11)-------cocoguojia 原创--单片机实验室-----嘉哥.files/count.htm"></SCRIPT>

<SCRIPT 
src="Mega8学习笔记(11)-------cocoguojia 原创--单片机实验室-----嘉哥.files/commentedit.htm"></SCRIPT>

<SCRIPT 
src="F:\download\mega8学习笔记\Mega8学习笔记(11)-------cocoguojia 原创--单片机实验室-----嘉哥.files\count(1).htm"></SCRIPT>

<SCRIPT src=""></SCRIPT>

<SCRIPT 
src="Mega8学习笔记(11)-------cocoguojia 原创--单片机实验室-----嘉哥.files/ShowXml.htm"></SCRIPT>

<SCRIPT 
src="F:\download\mega8学习笔记\Mega8学习笔记(11)-------cocoguojia 原创--单片机实验室-----嘉哥.files\count(2).htm"></SCRIPT>
</BODY></HTML>

⌨️ 快捷键说明

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