📄 fill.html
字号:
<html lang="en">
<head>
<title>Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.3">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
</head>
<body>
<div class="node">
<p>
Node:<a name="Fill">Fill</a>,
Next:<a rel="next" accesskey="n" href="Float.html#Float">Float</a>,
Previous:<a rel="previous" accesskey="p" href="File.html#File">File</a>,
Up:<a rel="up" accesskey="u" href="Pseudo-Ops.html#Pseudo%20Ops">Pseudo Ops</a>
<hr><br>
</div>
<h3 class="section"><code>.fill </code><var>repeat</var><code> , </code><var>size</var><code> , </code><var>value</var><code></code></h3>
<p><var>repeat</var>, <var>size</var> and <var>value</var> are absolute expressions.
This emits <var>repeat</var> copies of <var>size</var> bytes. <var>Repeat</var>
may be zero or more. <var>Size</var> may be zero or more, but if it is
more than 8, then it is deemed to have the value 8, compatible with
other people's assemblers. The contents of each <var>repeat</var> bytes
is taken from an 8-byte number. The highest order 4 bytes are
zero. The lowest order 4 bytes are <var>value</var> rendered in the
byte-order of an integer on the computer <code>as</code> is assembling for.
Each <var>size</var> bytes in a repetition is taken from the lowest order
<var>size</var> bytes of this number. Again, this bizarre behavior is
compatible with other people's assemblers.
<p><var>size</var> and <var>value</var> are optional.
If the second comma and <var>value</var> are absent, <var>value</var> is
assumed zero. If the first comma and following tokens are absent,
<var>size</var> is assumed to be 1.
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -