Added ability to directly embed NED programs in NEDsim binary for runtime execution.
[screensavers] / hacks / NEDsim / ned_programs / container.x86_asm_template
CommitLineData
b73247cf
AT
1# (c) 2021 Aaron Taylor <ataylor at subgeniuskitty dot com>
2# See LICENSE.txt file for copyright and license details.
3
4# This container is used to wrap NED binary blobs in x86 assembly files,
5# allowing them to be assembled into linkable object files.
6
7 .section .rodata
8
9 .global INSERTNAME
10 .type INSERTNAME, @object
11 .balign 8
12INSERTNAME:
13 .incbin "INSERTNAME.bin"
14INSERTNAME_end:
15
16 .global INSERTNAME_size
17 .type INSERTNAME_size, @object
18 .balign 8
19INSERTNAME_size:
20 .int INSERTNAME_end - INSERTNAME