8086 Object I~dule Formats

Version 4.0

PROCEDURE INFORMATION

The PROCEDURE INFOR~ATION block has the followinq format:

**************************************************

*

,

I

I

I

I

I

I

*

 

*

*

I

I

I

I

I

I

I

*

RETURN

*

*PILI010101010IB*

ADDRESS

*

*

,

I

I

,

,

I

I

*

OFFSET

*

*

,

I

I

I

,

I

I

*

 

*

**************************************************

+----------conditional-----------+

The P (Procedure) bit, if 1, indicates that the BLKDEF record was generated from a procedure in the source. The RETURN ADDRESS OFFSET is present only if P=l.

The L (LONG) bit tells whether the return address is a 4-byte value (CS and IP) or a 2-byte value (IP only) •

L=0 ->2-byte return address

L=l ->4-byte return address

If P=0 the L bit has no meaning and is required to be O.

The RETURN ADDRESS OFFSET, a (from BP) of the procedure's activation record on the stack.

TYPE INDEX

l~-bitvalue, is the hyte offset return address in the procedure's

The TYPE INDEX field identifies a sinqle precedinq TYPDEF record containinq the type descriptor for the procedure or block name. This field is present only if the NAME is non-zero.

(Note) Symbols defined in BLKDEF reco rd s

should not be repeated in DEBSY~ records. (End of Note)

55

Page 55
Image 55
Intel 121748-001 manual Procedure Information, Return, Address Offset