• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2011.09/share/doc/arm-arm-none-eabi/html/as.html/
1<html lang="en">
2<head>
3<title>Arguments - 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="Integer-Exprs.html#Integer-Exprs" title="Integer Exprs">
9<link rel="next" href="Operators.html#Operators" title="Operators">
10<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
11<!--
12This file documents the GNU Assembler "as".
13
14Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
152000, 2001, 2002, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
16Inc.
17
18Permission is granted to copy, distribute and/or modify this document
19under the terms of the GNU Free Documentation License, Version 1.3
20or any later version published by the Free Software Foundation;
21with no Invariant Sections, with no Front-Cover Texts, and with no
22Back-Cover Texts.  A copy of the license is included in the
23section entitled ``GNU Free Documentation License''.
24
25-->
26<meta http-equiv="Content-Style-Type" content="text/css">
27<style type="text/css"><!--
28  pre.display { font-family:inherit }
29  pre.format  { font-family:inherit }
30  pre.smalldisplay { font-family:inherit; font-size:smaller }
31  pre.smallformat  { font-family:inherit; font-size:smaller }
32  pre.smallexample { font-size:smaller }
33  pre.smalllisp    { font-size:smaller }
34  span.sc    { font-variant:small-caps }
35  span.roman { font-family:serif; font-weight:normal; } 
36  span.sansserif { font-family:sans-serif; font-weight:normal; } 
37--></style>
38<link rel="stylesheet" type="text/css" href="../cs.css">
39</head>
40<body>
41<div class="node">
42<a name="Arguments"></a>
43<p>
44Next:&nbsp;<a rel="next" accesskey="n" href="Operators.html#Operators">Operators</a>,
45Up:&nbsp;<a rel="up" accesskey="u" href="Integer-Exprs.html#Integer-Exprs">Integer Exprs</a>
46<hr>
47</div>
48
49<h4 class="subsection">6.2.1 Arguments</h4>
50
51<p><a name="index-expression-arguments-248"></a><a name="index-arguments-in-expressions-249"></a><a name="index-operands-in-expressions-250"></a><a name="index-arithmetic-operands-251"></a><dfn>Arguments</dfn> are symbols, numbers or subexpressions.  In other
52contexts arguments are sometimes called &ldquo;arithmetic operands&rdquo;.  In
53this manual, to avoid confusing them with the &ldquo;instruction operands&rdquo; of
54the machine language, we use the term &ldquo;argument&rdquo; to refer to parts of
55expressions only, reserving the word &ldquo;operand&rdquo; to refer only to machine
56instruction operands.
57
58   <p>Symbols are evaluated to yield {<var>section</var> <var>NNN</var>} where
59<var>section</var> is one of text, data, bss, absolute,
60or undefined.  <var>NNN</var> is a signed, 2's complement 32 bit
61integer.
62
63   <p>Numbers are usually integers.
64
65   <p>A number can be a flonum or bignum.  In this case, you are warned
66that only the low order 32 bits are used, and <samp><span class="command">as</span></samp> pretends
67these 32 bits are an integer.  You may write integer-manipulating
68instructions that act on exotic constants, compatible with other
69assemblers.
70
71   <p><a name="index-subexpressions-252"></a>Subexpressions are a left parenthesis &lsquo;<samp><span class="samp">(</span></samp>&rsquo; followed by an integer
72expression, followed by a right parenthesis &lsquo;<samp><span class="samp">)</span></samp>&rsquo;; or a prefix
73operator followed by an argument.
74
75   </body></html>
76
77