diff options
| author | Wiimm <wiimm@wiimm.de> | 2023-07-11 16:18:26 +0200 |
|---|---|---|
| committer | Wiimm <wiimm@wiimm.de> | 2023-07-11 16:18:26 +0200 |
| commit | b5b1fe7fc0cf460d6204c18ba7bb4c40f7597efa (patch) | |
| tree | a7b4bb1e79fde818dd7af17fee1207ae40178ab7 /project/text-files/lex.inc/lex-hexdump-cr.inc | |
| parent | 74ac39c1af5c8e85bf10711aed2ffc9dfee2e277 (diff) | |
SZS v2.35a
Diffstat (limited to 'project/text-files/lex.inc/lex-hexdump-cr.inc')
| -rw-r--r-- | project/text-files/lex.inc/lex-hexdump-cr.inc | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/project/text-files/lex.inc/lex-hexdump-cr.inc b/project/text-files/lex.inc/lex-hexdump-cr.inc index 156281f..ecd3e28 100644 --- a/project/text-files/lex.inc/lex-hexdump-cr.inc +++ b/project/text-files/lex.inc/lex-hexdump-cr.inc @@ -5,12 +5,25 @@ [HEXDUMP] # Sort order: %u -# Unknown sections are stored as hexdump to keep the data. The address field -# and the ASCII part are for info only and ignored on scanning. +# Unknown sections are stored as hexdump to keep the data. Parameter @MAGIC +# defines the type of the section. @MAGIC = 0x%08x # %s +# Syntax of the data lines: +# HEXLINE := [ ADDRESS ':' ] DATA [COMMENT] +# COMMENT := ( [ ':' | '#' | '/' ) ANY_TEXT +# DATA := HEXBYTE | EXPR +# EXPR := '(' SZS_TOOLS_EXPRESSION ')' +# +# The address field and the ASCII part (a COMMENT by definition) are for info +# only and ignored on scanning. +# +# The result of SZS_TOOLS_EXPRESSION is stored in network byte order (big +# endian). Integers and floats are stored as 4 bytes, vectors as 3 floats with +# 12 bytes total. Strings are stored as bytes without terminating NULL. + #HEX# #----+------------------------------------------------------+----------------+ -#addr: data: bytes in hex | '(' expression ')' : ASCII of data : +#addr: data: byte in hex | '(' expression ')' : ASCII of data : #----+------------------------------------------------------+----------------+ |
