STARTOF


Returns the start address of the term section after linking.

[Function]

Returns the start address of the term section after linking.

[Application example]

.DW     STARTOF(.text)          ; (1)

(1)

Allocates a 4-byte area, and initializes it with the start address of the .text section.

 

To use this operator in conjunction with SIZEOF:

.DW         STARTOF(.data) + SIZEOF(.data)

[Caution]

-

STARTOF can only be written as an operand of the data definition directive, .dw.

-

This operator can be specified in combination with SIZEOF by using the binary operator "+".
Note, however, that it is not possible on the same line to write multiple instances of STARTOF and SIZEOF or include an expression other than STARTOF or SIZEOF.