X-Git-Url: http://git.subgeniuskitty.com/screensavers/.git/blobdiff_plain/f1dc1972e6e3237ecb7bcacdb3466cf1e5f596ff..b73247cfaa571f5f162eca6e55ee7ea803d31dd7:/hacks/NEDsim/ned_programs/container.x86_asm_template diff --git a/hacks/NEDsim/ned_programs/container.x86_asm_template b/hacks/NEDsim/ned_programs/container.x86_asm_template new file mode 100644 index 0000000..115ebd0 --- /dev/null +++ b/hacks/NEDsim/ned_programs/container.x86_asm_template @@ -0,0 +1,20 @@ +# (c) 2021 Aaron Taylor +# See LICENSE.txt file for copyright and license details. + +# This container is used to wrap NED binary blobs in x86 assembly files, +# allowing them to be assembled into linkable object files. + + .section .rodata + + .global INSERTNAME + .type INSERTNAME, @object + .balign 8 +INSERTNAME: + .incbin "INSERTNAME.bin" +INSERTNAME_end: + + .global INSERTNAME_size + .type INSERTNAME_size, @object + .balign 8 +INSERTNAME_size: + .int INSERTNAME_end - INSERTNAME