blob: 00328b3d090d7dc2f6a1e7523e871a739da14281 [file] [log] [blame]
<html lang="en">
<head>
<title>PRU Directives - 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="PRU_002dDependent.html#PRU_002dDependent" title="PRU-Dependent">
<link rel="prev" href="PRU-Relocations.html#PRU-Relocations" title="PRU Relocations">
<link rel="next" href="PRU-Opcodes.html#PRU-Opcodes" title="PRU Opcodes">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
This file documents the GNU Assembler "as".
Copyright (C) 1991-2019 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="PRU-Directives"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="PRU-Opcodes.html#PRU-Opcodes">PRU Opcodes</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="PRU-Relocations.html#PRU-Relocations">PRU Relocations</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="PRU_002dDependent.html#PRU_002dDependent">PRU-Dependent</a>
<hr>
</div>
<h4 class="subsection">9.37.4 PRU Machine Directives</h4>
<p><a name="index-machine-directives_002c-PRU-1969"></a><a name="index-PRU-machine-directives-1970"></a>
<a name="index-g_t_0040code_007balign_007d-directive_002c-PRU-1971"></a>
<dl><dt><code>.align </code><var>expression</var><code> [, </code><var>expression</var><code>]</code><dd>This is the generic <code>.align</code> directive, however
this aligns to a power of two.
<p><a name="index-g_t_0040code_007bword_007d-directive_002c-PRU-1972"></a><br><dt><code>.word </code><var>expression</var><dd>Create an aligned constant 4 bytes in size.
<p><a name="index-g_t_0040code_007bdword_007d-directive_002c-PRU-1973"></a><br><dt><code>.dword </code><var>expression</var><dd>Create an aligned constant 8 bytes in size.
<p><a name="index-g_t_0040code_007b2byte_007d-directive_002c-PRU-1974"></a><br><dt><code>.2byte </code><var>expression</var><dd>Create an unaligned constant 2 bytes in size.
<p><a name="index-g_t_0040code_007b4byte_007d-directive_002c-PRU-1975"></a><br><dt><code>.4byte </code><var>expression</var><dd>Create an unaligned constant 4 bytes in size.
<p><a name="index-g_t_0040code_007b8byte_007d-directive_002c-PRU-1976"></a><br><dt><code>.8byte </code><var>expression</var><dd>Create an unaligned constant 8 bytes in size.
<p><a name="index-g_t_0040code_007b16byte_007d-directive_002c-PRU-1977"></a><br><dt><code>.16byte </code><var>expression</var><dd>Create an unaligned constant 16 bytes in size.
<p><a name="index-g_t_0040code_007bset-no_005fwarn_005fregname_005flabel_007d-directive_002c-PRU-1978"></a><br><dt><code>.set no_warn_regname_label</code><dd>Do not output warnings when a label name matches a register name. Equivalent
to passing the <code>-mno-warn-regname-label</code> command-line option.
</dl>
</body></html>