GNU Info

Info Node: (nasm.info)Section 3.2.3

(nasm.info)Section 3.2.3


Next: Section 3.2.4 Prev: Section 3.2.2 Up: Section 3.2
Enter node , (file) or (file)node

3.2.3. `INCBIN': Including External Binary Files
------------------------------------------------

   `INCBIN' is borrowed from the old Amiga assembler DevPac: it includes
a binary file verbatim into the output file. This can be handy for (for
example) including graphics and sound data directly into a game
executable file. It can be called in one of these three ways:

         incbin  "file.dat"             ; include the whole file
         incbin  "file.dat",1024        ; skip the first 1024 bytes
         incbin  "file.dat",1024,512    ; skip the first 1024, and
                                        ; actually include at most 512


automatically generated by info2www version 1.2.2.9