5.9.1 Incbin Directive
The .incbin
"file"[,skip[,count]]
directive includes the content of the file file
, verbatim
at the current location. The file is assumed to contain binary data. The search paths used
can be specified with the -I
command-line option (see
3 Assembler Command-Line Options). Quotation marks
are required around file
.
The skip
argument skips a number of
bytes from the start of the file. The count
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 .incbin
directive.