背景: #EDF0F5 #FAFBE6 #FFF2E2 #FDE6E0 #F3FFE1 #DAFAF3 #EAEAEF 默认  
阅读新闻

AT&T汇编语言与GCC内嵌汇编简介

[日期:2007-02-09] 作者: [字体: ]
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">







AT&T汇编语言








style='font-size:22.0pt;mso-bidi-font-size:12.0pt'> 



style='font-size:22.0pt;mso-bidi-font-size:12.0pt'> 



style='font-size:22.0pt;mso-bidi-font-size:12.0pt'> 



style='font-size:22.0pt;mso-bidi-font-size:12.0pt'> 



style='font-size:22.0pt;mso-bidi-font-size:12.0pt'>AT&Tstyle='font-size:22.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
"Times New Roman";mso-hansi-font-family:"Times New Roman"'>汇编语言与
lang=EN-US style='font-size:22.0pt;mso-bidi-font-size:12.0pt'>GCCstyle='font-size:22.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
"Times New Roman";mso-hansi-font-family:"Times New Roman"'>内嵌汇编简介
lang=EN-US style='font-size:22.0pt;mso-bidi-font-size:12.0pt'>
style='mso-special-character:line-break'>



style='font-size:22.0pt;mso-bidi-font-size:12.0pt'> 



style='font-size:22.0pt;mso-bidi-font-size:12.0pt'> 



style='font-size:22.0pt;mso-bidi-font-size:12.0pt'> 



style='font-size:22.0pt;mso-bidi-font-size:12.0pt'> 

















style='font-size:22.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
"Times New Roman";mso-hansi-font-family:"Times New Roman"'>版本
lang=EN-US style='font-size:22.0pt;mso-bidi-font-size:12.0pt'>



lang=EN-US style='font-size:22.0pt;mso-bidi-font-size:12.0pt'>0.1



style='font-size:22.0pt;mso-bidi-font-size:12.0pt;font-family:宋体;mso-ascii-font-family:
"Times New Roman";mso-hansi-font-family:"Times New Roman"'>时间
lang=EN-US style='font-size:22.0pt;mso-bidi-font-size:12.0pt'>



lang=EN-US style='font-size:22.0pt;mso-bidi-font-size:12.0pt'>04/3/30



lang=EN-US style='font-size:22.0pt;mso-bidi-font-size:12.0pt'>EMAIL



lang=EN-US style='font-size:22.0pt;mso-bidi-font-size:12.0pt'>chforest_chang@hotmail.com




style='font-size:22.0pt;mso-bidi-font-size:12.0pt'> 



style='font-size:22.0pt;mso-bidi-font-size:12.0pt'> 




style='page-break-before:always'>


lang=EN-US>



class=MsoHyperlink>1style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>     AT&Tstyle='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>与INTEL的汇编语言语法的区别style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>3
lang=EN-US>



class=MsoHyperlink>1.1style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>              style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>大小写style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>3
lang=EN-US>



class=MsoHyperlink>1.2style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>              style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>操作数赋值方向style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>3
lang=EN-US>



class=MsoHyperlink>1.3style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>              style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>前缀style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>3
lang=EN-US>



class=MsoHyperlink>1.4style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>              style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>间接寻址语法style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>4
lang=EN-US>



class=MsoHyperlink>1.5style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>              style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>后缀style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>4
lang=EN-US>



class=MsoHyperlink>1.6style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>              style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>指令style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>5
lang=EN-US>



class=MsoHyperlink>2style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>     GCCstyle='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>内嵌汇编style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>5
lang=EN-US>



class=MsoHyperlink>2.1style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>              style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>简介style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>5
lang=EN-US>



class=MsoHyperlink>2.2style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>              style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>内嵌汇编举例style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>5
lang=EN-US>



class=MsoHyperlink>2.3style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>              style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>语法style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>7
lang=EN-US>



class=MsoHyperlink>2.3.1style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>          style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>汇编语句模板style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>7
lang=EN-US>



class=MsoHyperlink>2.3.2style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>          style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>输出部分style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>7
lang=EN-US>



class=MsoHyperlink>2.3.3style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>          style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>输入部分style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>8
lang=EN-US>



class=MsoHyperlink>2.3.4style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>          style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>限制字符style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>8
lang=EN-US>



class=MsoHyperlink>2.3.5style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>          style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>破坏描述部分style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>14
lang=EN-US>



class=MsoHyperlink>2.4style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>              GCCstyle='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>如何编译内嵌汇编代码style='mso-tab-count:1'>    style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>19
lang=EN-US>



class=MsoHyperlink>3style='color:windowtext;text-decoration:none;text-underline:none'>style='mso-tab-count:1'>     style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>后记style='mso-tab-count:1 dotted'>... style='color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none'>20
lang=EN-US>



 




style='mso-special-character:line-break;page-break-before:always'>


 



本节先介绍lang=EN-US>AT&T汇编语言语法与lang=EN-US>INTEL汇编语法的差别,然后介绍GCCstyle='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>内嵌汇编语法。阅读本节需要读者具有INTELstyle='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>汇编语言基础。



 



1      
AT&T
style='mso-bookmark:_Toc68427509'>style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>与
INTELstyle='mso-bookmark:_Toc68427509'>style='font-family:宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:
"Times New Roman"'>的汇编语言语法的区别



相关新闻       相关关键词: