Example 2: Motorola S19

/* General section. Notice that the template is applied throughout the file, from the beginning (Offset=0) until the end (Repeats=Yes) without any blanks (RepeatSkip=0). */
[General]
Name=Motorola S19
Description=Interpret and edit Motorola S19 EEPROM files.
Author=Hackman's Team
Version=1.0
Target=file
ReadOnly=
Offset=0
Repeats=Yes
RepeatSkip=0
Validate=Yes
Vertical=Yes
/* Here is the structure declaration. 7 fields (or members) are included in the structure. Notice the 5th field is an advanced dynamic field and its length depends on field2. More on dynamic fields are given here. */
[Section1]
Fields=7
Field1=6,Stamp,char,,S
Field2=6,Type,char
Field3=6,Length,hex
Field4=6,Address,hex,2
Field5=54,Data,hex,field3!-3   // Advanced dynamic field
Field6=9,Checksum,hex
Field7=6,LF,char,2,0x0D0A
Back.