B-8
File Format
Here is a discussion of various fields:
bBlockID
The Block Type identifier is 6.
nBlockLen
Length of the block (in bytes), excluding the bBlockID and nBlockLen
fields.
The value is 2.
wRepeatTimes
This is a 2-byte field which specifies the number of times to repeat. It
can be any value between 1 to 0FFFE hex inclusive. If this value is set to
0FFFF hex, an endless loop occurs.
Block Type 7
This block indicates the end of a repeat loop. It works in conjunction with Block Type
6. The Block Header is organized as follows:
BYTE
bBlockID;
// == 7
BYTE
nBlockLen[3];
// 3-byte block length
Here is a discussion of various fields:
bBlockID
The Block Type identifier is 7.
nBlockLen
Length of the block (in bytes), excluding the bBlockID and nBlockLen
fields.
The value is 0.