diff options
Diffstat (limited to 'blob2xex.rst')
-rw-r--r-- | blob2xex.rst | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/blob2xex.rst b/blob2xex.rst index 125772c..a3161ab 100644 --- a/blob2xex.rst +++ b/blob2xex.rst @@ -24,8 +24,12 @@ more files of arbitrary data. Each input file will become a separate segment in the binary load file. A run address can be added with the **-r** option. -Each input file *requires* a **-l** *loadaddr* option, to set the -load address. Optionally, init addresses can be included, per-segment +The first input file *requires* a **-l** *loadaddr* option, to set the +load address. Further input files can have their load addresses set +with **-l**, also. If an input file lacks a load address, it will +load at the next address after the previous file's ending address. + +Optionally, init addresses can be included, per-segment (**-i**). Also, using **-o** and **-s**, it's possible to include only part of the input file. To read from standard input, use **-** for the *infile*. @@ -52,6 +56,11 @@ OPTIONS A space is required between an option and its argument; use e.g. **-l 0x2000**, not **-l0x2000**. +-l *loadaddr* + Required; set the load address of the next *infile*. The first *infile* + **must** be preceded by a **-l** option; it's optional for the 2nd and + further files. + -r *runaddr* Optional; set the run address. Default is no run address. Since a .xex file can only have one run address, there's no point in giving @@ -59,10 +68,6 @@ not **-l0x2000**. option should be first on the command line (right after *outfile*), or at least must occur before any *infile*. --l *loadaddr* - Required; set the load address of the next *infile*. Each *infile* - **must** be preceded by a **-l** option. - -i *initaddr* Optional; set an init address, to be executed after the next segment loads. Default is no init address. |