📄 gnu_asm.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0062)http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html -->
<HTML><HEAD><TITLE>Assembler Directives</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY><A name=Top></A><A
href="http://rustam.uwp.edu/499/moredocs/as.html">Contents</A>|<A
href="http://rustam.uwp.edu/499/moredocs/asindex.html">Index</A>|<A
href="http://rustam.uwp.edu/499/moredocs/asInfix_Operators.html">Previous</A>|<A
href="http://rustam.uwp.edu/499/moredocs/asMachine_Dependent_Features.html">Next</A>
<BR><A name=off_689725></A><A name=82f91f79></A><B><FONT
face="Futura Md BT"><FONT size=+3>Assembler directives</FONT></FONT></B> <BR>
<HR width="100%" SIZE=3>
<FONT color=#000000><FONT size=+1><FONT face="Times New Roman">All assembler
directives have names that begin with a period (</FONT><B><FONT
face="Courier New">.</FONT></B><FONT face="Times New Roman">). The rest of the
name is letters, usually in lower case.</FONT></FONT></FONT>
<P><FONT face="Times New Roman"><FONT size=+1><FONT color=#000000>The following
documentation discusses the directives that are available, regardless of the
target machine configuration for the GNU assembler. Some machine configurations
provide additional directives. See also </FONT><FONT color=#008000><A
href="http://rustam.uwp.edu/499/moredocs/asMachine_Dependent_Features.html">Machine
dependent features</A></FONT><FONT color=#000000>.</FONT></FONT></FONT>
<UL type=SQUARE>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#6cb39e9c">.abort</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#6cb39e9c">.ABORT</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#4f8da59f">.align
<I>abs-expr</I>, <I>abs-expr</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#b5f1df75">.app-file
<I>string</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#7df7ea36">.ascii
"<I>string</I>"...</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#5a15f657">.asciz
"<I>string</I>"...</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#936e6db8">.balign[wl]
<I>abs-expr</I>, <I>abs-expr</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#9132eccf">.byte
<I>expressions</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#f38b8d76">.comm
symbol, <I>length</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#40e4663b">.data
subsection</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#db6ee9de">.def
name</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#1aed263c">.desc
symbol,abs-expression</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#000f23a8">.dim</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#fc15fb93">.double
<I>flonums</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#6d8db339">.eject</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#028c4a8d">.else</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#6d928694">.endef</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#6d928740">.endif</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#84df5eb9">.equ
<I>symbol</I>,<I>expression</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#69b9b118">.extern</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#9f7b21f5">.file
<I>string</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#8115f882">.fill
<I>repeat</I>, <I>size</I> , <I>value</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#61506ea6">.float
<I>flonums</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#095637e7">.global
<I>symbol</I>, .globl <I>symbol</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#99848e3d">.hword
<I>expressions</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#6e571864">.ident</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#d087b452">.if
<I>absolute</I> <I>expression</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#1f2dbe18">.include
"<I>file</I>"</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#289a517e">.int
<I>expressions</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#285bbfb1">.irp
<I>symbol</I>, <I>values</I>...</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#923f850a">.irpc
<I>symbol</I>, <I>values</I>...</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#92d113f2">.lcomm
<I>symbol</I>, <I>length</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#a35b0f73">.lflags</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#19ea5242">.line
<I>line-number</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#489aac90">.ln
<I>line-number</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#5175dde5">.mri
<I>val</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#0294b2f6">.list</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#1e533993">.long
<I>expressions</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#6f2411a4">.macro</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#b6b722ef">.nolist</A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#1af451a6">.octa
<I>bignums</I></A></FONT></FONT></FONT>
<LI><FONT face="Courier New"><FONT color=#008000><FONT size=+1><A
href="http://rustam.uwp.edu/499/moredocs/asAssembler_Directives.html#1102fe6f">.org
<I>new-lc</I>, <I>fill</I></A></FONT></FONT></FONT>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -