1<html lang="en"> 2<head> 3<title>Desc - Using as</title> 4<meta http-equiv="Content-Type" content="text/html"> 5<meta name="description" content="Using as"> 6<meta name="generator" content="makeinfo 4.13"> 7<link title="Top" rel="start" href="index.html#Top"> 8<link rel="up" href="Pseudo-Ops.html#Pseudo-Ops" title="Pseudo Ops"> 9<link rel="prev" href="Def.html#Def" title="Def"> 10<link rel="next" href="Dim.html#Dim" title="Dim"> 11<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> 12<!-- 13This file documents the GNU Assembler "as". 14 15Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 162000, 2001, 2002, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, 17Inc. 18 19Permission is granted to copy, distribute and/or modify this document 20under the terms of the GNU Free Documentation License, Version 1.3 21or any later version published by the Free Software Foundation; 22with no Invariant Sections, with no Front-Cover Texts, and with no 23Back-Cover Texts. A copy of the license is included in the 24section entitled ``GNU Free Documentation License''. 25 26--> 27<meta http-equiv="Content-Style-Type" content="text/css"> 28<style type="text/css"><!-- 29 pre.display { font-family:inherit } 30 pre.format { font-family:inherit } 31 pre.smalldisplay { font-family:inherit; font-size:smaller } 32 pre.smallformat { font-family:inherit; font-size:smaller } 33 pre.smallexample { font-size:smaller } 34 pre.smalllisp { font-size:smaller } 35 span.sc { font-variant:small-caps } 36 span.roman { font-family:serif; font-weight:normal; } 37 span.sansserif { font-family:sans-serif; font-weight:normal; } 38--></style> 39<link rel="stylesheet" type="text/css" href="../cs.css"> 40</head> 41<body> 42<div class="node"> 43<a name="Desc"></a> 44<p> 45Next: <a rel="next" accesskey="n" href="Dim.html#Dim">Dim</a>, 46Previous: <a rel="previous" accesskey="p" href="Def.html#Def">Def</a>, 47Up: <a rel="up" accesskey="u" href="Pseudo-Ops.html#Pseudo-Ops">Pseudo Ops</a> 48<hr> 49</div> 50 51<h3 class="section">7.33 <code>.desc </code><var>symbol</var><code>, </code><var>abs-expression</var></h3> 52 53<p><a name="index-g_t_0040code_007bdesc_007d-directive-301"></a><a name="index-COFF-symbol-descriptor-302"></a><a name="index-symbol-descriptor_002c-COFF-303"></a>This directive sets the descriptor of the symbol (see <a href="Symbol-Attributes.html#Symbol-Attributes">Symbol Attributes</a>) 54to the low 16 bits of an absolute expression. 55 56 <p>The ‘<samp><span class="samp">.desc</span></samp>’ directive is not available when <samp><span class="command">as</span></samp> is 57configured for COFF output; it is only for <code>a.out</code> or <code>b.out</code> 58object format. For the sake of compatibility, <samp><span class="command">as</span></samp> accepts 59it, but produces no output, when configured for COFF. 60 61 </body></html> 62 63