load bin binary-file physical-address
load image image-file
In the form "load elf-file", the simulator will load the contents of the ELF file, elf-file, into physical memory using the information in the ELF files's section header table. This information can specify several different locations in physical memory. Note that only the .text, .rodata, .rodata1, .data, and .data1 sections are loaded. .bss is implicitly initialized to zero.
In the form "load bin binary-file physical-address", the simulator will load the entire raw contents of binary-file at the physical address physical-address.
In the form "load image image-file", the
simulator will load the memory image of image-file.
These files are in the form:
Each line that begins with '@' sets the starting address for subsequent value lines. Each value line writes its 4- or 8-value the current address and advances the current address by 4 or 8 bytes respectively. For both 4- and 8-byte value lines, the value is specified in hex without any leading 0x or 0X base selector and must consist of 8 or 16 hexadecimal characters, respectively. Multiple values may appear on a single line separated by spaces or tabs.