<html lang="en"> <head> <title>CRIS-Pseudos - Using as</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Using as"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="CRIS_002dSyntax.html#CRIS_002dSyntax" title="CRIS-Syntax"> <link rel="prev" href="CRIS_002dRegs.html#CRIS_002dRegs" title="CRIS-Regs"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <!-- This file documents the GNU Assembler "as". Copyright (C) 1991-2015 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License''. --> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } --></style> </head> <body> <div class="node"> <a name="CRIS-Pseudos"></a> <a name="CRIS_002dPseudos"></a> <p> Previous: <a rel="previous" accesskey="p" href="CRIS_002dRegs.html#CRIS_002dRegs">CRIS-Regs</a>, Up: <a rel="up" accesskey="u" href="CRIS_002dSyntax.html#CRIS_002dSyntax">CRIS-Syntax</a> <hr> </div> <h5 class="subsubsection">9.8.4.4 Assembler Directives</h5> <p><a name="index-assembler-directives_002c-CRIS-862"></a><a name="index-pseudo_002dops_002c-CRIS-863"></a><a name="index-CRIS-assembler-directives-864"></a><a name="index-CRIS-pseudo_002dops-865"></a> There are a few CRIS-specific pseudo-directives in addition to the generic ones. See <a href="Pseudo-Ops.html#Pseudo-Ops">Pseudo Ops</a>. Constants emitted by pseudo-directives are in little-endian order for CRIS. There is no support for floating-point-specific directives for CRIS. <dl> <dt><code>.dword EXPRESSIONS</code><dd><a name="index-assembler-directive-_002edword_002c-CRIS-866"></a><a name="index-pseudo_002dop-_002edword_002c-CRIS-867"></a><a name="index-CRIS-assembler-directive-_002edword-868"></a><a name="index-CRIS-pseudo_002dop-_002edword-869"></a> The <code>.dword</code> directive is a synonym for <code>.int</code>, expecting zero or more EXPRESSIONS, separated by commas. For each expression, a 32-bit little-endian constant is emitted. <br><dt><code>.syntax ARGUMENT</code><dd><a name="index-assembler-directive-_002esyntax_002c-CRIS-870"></a><a name="index-pseudo_002dop-_002esyntax_002c-CRIS-871"></a><a name="index-CRIS-assembler-directive-_002esyntax-872"></a><a name="index-CRIS-pseudo_002dop-_002esyntax-873"></a>The <code>.syntax</code> directive takes as <var>ARGUMENT</var> one of the following case-sensitive choices. <dl> <dt><code>no_register_prefix</code><dd> The <code>.syntax no_register_prefix</code> <a name="crisnous"></a>directive makes a ‘<samp><span class="samp">$</span></samp>’ character prefix on all registers optional. It overrides a previous setting, including the corresponding effect of the option <samp><span class="option">--no-underscore</span></samp>. If this directive is used when ordinary symbols do not have a ‘<samp><span class="samp">_</span></samp>’ character prefix, care must be taken to avoid ambiguities whether an operand is a register or a symbol; using symbols with names the same as general or special registers then invoke undefined behavior. <br><dt><code>register_prefix</code><dd> This directive makes a ‘<samp><span class="samp">$</span></samp>’ character prefix on all registers mandatory. It overrides a previous setting, including the corresponding effect of the option <samp><span class="option">--underscore</span></samp>. <br><dt><code>leading_underscore</code><dd> This is an assertion directive, emitting an error if the <samp><span class="option">--no-underscore</span></samp> option is in effect. <br><dt><code>no_leading_underscore</code><dd> This is the opposite of the <code>.syntax leading_underscore</code> directive and emits an error if the option <samp><span class="option">--underscore</span></samp> is in effect. </dl> <br><dt><code>.arch ARGUMENT</code><dd><a name="index-assembler-directive-_002earch_002c-CRIS-874"></a><a name="index-pseudo_002dop-_002earch_002c-CRIS-875"></a><a name="index-CRIS-assembler-directive-_002earch-876"></a><a name="index-CRIS-pseudo_002dop-_002earch-877"></a>This is an assertion directive, giving an error if the specified <var>ARGUMENT</var> is not the same as the specified or default value for the <samp><span class="option">--march=</span><var>architecture</var></samp> option (see <a href="march_002doption.html#march_002doption">march-option</a>). <!-- If you compare with md_pseudo_table, you see that we don't --> <!-- document ".file" and ".loc" here. This is because we're just --> <!-- wrapping the corresponding ELF function and emitting an error for --> <!-- a.out. --> </dl> <!-- Copyright (C) 1996-2015 Free Software Foundation, Inc. --> <!-- This is part of the GAS manual. --> <!-- For copying conditions, see the file as.texinfo. --> </body></html>