Clear up a few details

This commit is contained in:
Joscha 2019-11-11 16:35:55 +00:00
parent 8e98bc5dbb
commit 86f8b723b5

View file

@ -236,7 +236,9 @@ is ignored. A line can either be empty or have the following format:
`<start address>-<end address>:<flags>`
* `<start address>` and `<end address>` are case-insensitive,
hexadecimal, 5 digit numbers. `<end address>` is inclusive.
hexadecimal, 5 digit numbers. The start and end addresses are
inclusive. If the end address is smaller than the start address,
their roles are swapped.
* `<flags>` are multiple characters (at least one).
The format `<address>:<flags>` is also allowed and equivalent to
@ -245,7 +247,8 @@ The format `<address>:<flags>` is also allowed and equivalent to
Here are some examples of valid lines:
* `12345-54321: abc`
* `54d3f:x`
* `00005-00004: x`
* `54d3f:y`
* ` aa5b2 - aa67c : x y z `
And here are some examples of invalid lines:
@ -268,7 +271,8 @@ is ignored. A line can either be empty or have the following format:
`<address>:<label name>[ <label name>]*`
* `<address>` is a case-insensitive, hexadecimal, 5 digit number.
* `<label name>` is the name of a label. It conforms to the regex `[a-zA-Z][a-zA-Z0-9_-]*`.
* `<label name>` is the name of a label. It conforms to the regex
`[a-zA-Z][a-zA-Z0-9_-]*`.
Here are some examples of valid lines: