incbin.html

来自「gcc手册」· HTML 代码 · 共 34 行

HTML
34 行
字号
<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="Incbin">Incbin</a>,

Next:<a rel="next" accesskey="n" href="Include.html#Include">Include</a>,

Previous:<a rel="previous" accesskey="p" href="If.html#If">If</a>,

Up:<a rel="up" accesskey="u" href="Pseudo-Ops.html#Pseudo%20Ops">Pseudo Ops</a>

<hr><br>

</div>



<h3 class="section"><code>.incbin "</code><var>file</var><code>"[,</code><var>skip</var><code>[,</code><var>count</var><code>]]</code></h3>



   <p>The <code>incbin</code> directive includes <var>file</var> verbatim at the current

location. You can control the search paths used with the <code>-I</code> command-line

option (see <a href="Invoking.html#Invoking">Command-Line Options</a>).  Quotation marks are required

around <var>file</var>.



   <p>The <var>skip</var> argument skips a number of bytes from the start of the

<var>file</var>.  The <var>count</var> argument indicates the maximum number of bytes to

read.  Note that the data is not aligned in any way, so it is the user's

responsibility to make sure that proper alignment is provided both before and

after the <code>incbin</code> directive.



   </body></html>



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?