Added ability to directly embed NED programs in NEDsim binary for runtime execution.
[screensavers] / hacks / NEDsim / ned_programs / container.x86_asm_template
# (c) 2021 Aaron Taylor <ataylor at subgeniuskitty dot com>
# 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