No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

159 líneas
6.5KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- This file documents the GNU Assembler "as".
  4. Copyright (C) 1991-2020 Free Software Foundation, Inc.
  5. Permission is granted to copy, distribute and/or modify this document
  6. under the terms of the GNU Free Documentation License, Version 1.3
  7. or any later version published by the Free Software Foundation;
  8. with no Invariant Sections, with no Front-Cover Texts, and with no
  9. Back-Cover Texts. A copy of the license is included in the
  10. section entitled "GNU Free Documentation License".
  11. -->
  12. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  13. <head>
  14. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  15. <title>CRIS-Pseudos (Using as)</title>
  16. <meta name="description" content="CRIS-Pseudos (Using as)">
  17. <meta name="keywords" content="CRIS-Pseudos (Using as)">
  18. <meta name="resource-type" content="document">
  19. <meta name="distribution" content="global">
  20. <meta name="Generator" content="makeinfo">
  21. <link href="index.html#Top" rel="start" title="Top">
  22. <link href="AS-Index.html#AS-Index" rel="index" title="AS Index">
  23. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  24. <link href="CRIS_002dSyntax.html#CRIS_002dSyntax" rel="up" title="CRIS-Syntax">
  25. <link href="C_002dSKY_002dDependent.html#C_002dSKY_002dDependent" rel="next" title="C-SKY-Dependent">
  26. <link href="CRIS_002dRegs.html#CRIS_002dRegs" rel="prev" title="CRIS-Regs">
  27. <style type="text/css">
  28. <!--
  29. a.summary-letter {text-decoration: none}
  30. blockquote.indentedblock {margin-right: 0em}
  31. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  32. blockquote.smallquotation {font-size: smaller}
  33. div.display {margin-left: 3.2em}
  34. div.example {margin-left: 3.2em}
  35. div.lisp {margin-left: 3.2em}
  36. div.smalldisplay {margin-left: 3.2em}
  37. div.smallexample {margin-left: 3.2em}
  38. div.smalllisp {margin-left: 3.2em}
  39. kbd {font-style: oblique}
  40. pre.display {font-family: inherit}
  41. pre.format {font-family: inherit}
  42. pre.menu-comment {font-family: serif}
  43. pre.menu-preformatted {font-family: serif}
  44. pre.smalldisplay {font-family: inherit; font-size: smaller}
  45. pre.smallexample {font-size: smaller}
  46. pre.smallformat {font-family: inherit; font-size: smaller}
  47. pre.smalllisp {font-size: smaller}
  48. span.nolinebreak {white-space: nowrap}
  49. span.roman {font-family: initial; font-weight: normal}
  50. span.sansserif {font-family: sans-serif; font-weight: normal}
  51. ul.no-bullet {list-style: none}
  52. -->
  53. </style>
  54. </head>
  55. <body lang="en">
  56. <a name="CRIS_002dPseudos"></a>
  57. <div class="header">
  58. <p>
  59. Previous: <a href="CRIS_002dRegs.html#CRIS_002dRegs" accesskey="p" rel="prev">CRIS-Regs</a>, Up: <a href="CRIS_002dSyntax.html#CRIS_002dSyntax" accesskey="u" rel="up">CRIS-Syntax</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="AS-Index.html#AS-Index" title="Index" rel="index">Index</a>]</p>
  60. </div>
  61. <hr>
  62. <a name="Assembler-Directives-1"></a>
  63. <h4 class="subsubsection">9.9.4.4 Assembler Directives</h4>
  64. <a name="index-assembler-directives_002c-CRIS"></a>
  65. <a name="index-pseudo_002dops_002c-CRIS"></a>
  66. <a name="index-CRIS-assembler-directives"></a>
  67. <a name="index-CRIS-pseudo_002dops"></a>
  68. <p>There are a few CRIS-specific pseudo-directives in addition to
  69. the generic ones. See <a href="Pseudo-Ops.html#Pseudo-Ops">Pseudo Ops</a>. Constants emitted by
  70. pseudo-directives are in little-endian order for CRIS. There is
  71. no support for floating-point-specific directives for CRIS.
  72. </p>
  73. <dl compact="compact">
  74. <dt><code>.dword EXPRESSIONS</code></dt>
  75. <dd><a name="index-assembler-directive-_002edword_002c-CRIS"></a>
  76. <a name="index-pseudo_002dop-_002edword_002c-CRIS"></a>
  77. <a name="index-CRIS-assembler-directive-_002edword"></a>
  78. <a name="index-CRIS-pseudo_002dop-_002edword"></a>
  79. <p>The <code>.dword</code> directive is a synonym for <code>.int</code>,
  80. expecting zero or more EXPRESSIONS, separated by commas. For
  81. each expression, a 32-bit little-endian constant is emitted.
  82. </p>
  83. </dd>
  84. <dt><code>.syntax ARGUMENT</code></dt>
  85. <dd><a name="index-assembler-directive-_002esyntax_002c-CRIS"></a>
  86. <a name="index-pseudo_002dop-_002esyntax_002c-CRIS"></a>
  87. <a name="index-CRIS-assembler-directive-_002esyntax"></a>
  88. <a name="index-CRIS-pseudo_002dop-_002esyntax"></a>
  89. <p>The <code>.syntax</code> directive takes as <var>ARGUMENT</var> one of the
  90. following case-sensitive choices.
  91. </p>
  92. <dl compact="compact">
  93. <dt><code>no_register_prefix</code></dt>
  94. <dd>
  95. <p>The <code>.syntax no_register_prefix</code> <a name="crisnous"></a>directive
  96. makes a &lsquo;<samp>$</samp>&rsquo; character prefix on all registers optional. It
  97. overrides a previous setting, including the corresponding effect
  98. of the option <samp>--no-underscore</samp>. If this directive is
  99. used when ordinary symbols do not have a &lsquo;<samp>_</samp>&rsquo; character
  100. prefix, care must be taken to avoid ambiguities whether an
  101. operand is a register or a symbol; using symbols with names the
  102. same as general or special registers then invoke undefined
  103. behavior.
  104. </p>
  105. </dd>
  106. <dt><code>register_prefix</code></dt>
  107. <dd>
  108. <p>This directive makes a &lsquo;<samp>$</samp>&rsquo; character prefix on all
  109. registers mandatory. It overrides a previous setting, including
  110. the corresponding effect of the option <samp>--underscore</samp>.
  111. </p>
  112. </dd>
  113. <dt><code>leading_underscore</code></dt>
  114. <dd>
  115. <p>This is an assertion directive, emitting an error if the
  116. <samp>--no-underscore</samp> option is in effect.
  117. </p>
  118. </dd>
  119. <dt><code>no_leading_underscore</code></dt>
  120. <dd>
  121. <p>This is the opposite of the <code>.syntax leading_underscore</code>
  122. directive and emits an error if the option <samp>--underscore</samp>
  123. is in effect.
  124. </p></dd>
  125. </dl>
  126. </dd>
  127. <dt><code>.arch ARGUMENT</code></dt>
  128. <dd><a name="index-assembler-directive-_002earch_002c-CRIS"></a>
  129. <a name="index-pseudo_002dop-_002earch_002c-CRIS"></a>
  130. <a name="index-CRIS-assembler-directive-_002earch"></a>
  131. <a name="index-CRIS-pseudo_002dop-_002earch"></a>
  132. <p>This is an assertion directive, giving an error if the specified
  133. <var>ARGUMENT</var> is not the same as the specified or default value
  134. for the <samp>--march=<var>architecture</var></samp> option
  135. (see <a href="CRIS_002dOpts.html#march_002doption">march-option</a>).
  136. </p>
  137. </dd>
  138. </dl>
  139. <hr>
  140. <div class="header">
  141. <p>
  142. Previous: <a href="CRIS_002dRegs.html#CRIS_002dRegs" accesskey="p" rel="prev">CRIS-Regs</a>, Up: <a href="CRIS_002dSyntax.html#CRIS_002dSyntax" accesskey="u" rel="up">CRIS-Syntax</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="AS-Index.html#AS-Index" title="Index" rel="index">Index</a>]</p>
  143. </div>
  144. </body>
  145. </html>