8086 Object Module Formats

Version 4.8

S~GMENT INDEX> 0) or with respect to the specified FRAME (if

SEGMENT INDEX = 0). Successive data bytes in the ITERATED DATA BLOCK field occupy successively hiqher locations of memory.

ITERATED DATA BLOCK

This repeated field is a structure specifyinq the repeated data bytes. It is a structure that has the following format:

*****************************///*****

*

 

*

 

*

*

*

REPEAT

*

BLOCK

*

*

*

COUNT

*

COUNT

* CONTENT

*

*

 

*

 

*

*

*

 

*

 

*

*

*****************************///*****

REPEAT COUNT

This field specifies the number of times that the CONTENT portion of this ITERATED DATA BLOCK is to be repeated. REPEAT COUNT must be non-zero.

BLOCK COUNT

This field specifies the number of ITERATED DAT~ BLOCKS that are to be found in the CONTENT portion of this ITERATED DATA BLOCK. If this field has value zero then the CONTENT portion of this

ITERATED DATA BLOCK is interpreted as data bytes. If non-zero then the CONTENT portion is interpreted as that number of ITERATED DATA SLOCKs.

CON'rEN'r

This field ~ay be interpreted in one of two ways, dependinq on the value of the previous BLOCK COUNT field.

If BLOCK COU~T is zero then this field is a 1 byte count followed by the indicated number of data bytes.

If BLOCK COUNT is non-zero then this field is interpreted as the first byte of another ITERATED DATA BLOCK.

(Note) From the outermost level, the number of

nested ITERATED DATA BLOCKS is li~ited to 17, i . e . ,

the number of levels of recursion is limited to 17. (End of Note)

Page 63
Image 63
Intel 121748-001 manual Iterated Data Block, Repeat Block Count Content Repeat Count