06.02.2013 Views

C166/ST10 Cross-Assembler, Linker/Locator, Utilities ... - Tasking

C166/ST10 Cross-Assembler, Linker/Locator, Utilities ... - Tasking

C166/ST10 Cross-Assembler, Linker/Locator, Utilities ... - Tasking

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• • • • • • • •<br />

<strong>Assembler</strong> Directives 7−59<br />

Section Type<br />

Description<br />

LDAT This Linear DATa section is mapped by the locator in the first<br />

segment of 64K. No checking on 16K page boundaries will<br />

be done. The LDAT section type can only be used in<br />

NON−SEGMENTED mode. An LDAT section size is less<br />

than or equal to 64K. If the MODEL control is set to SMALL, it<br />

is also possible to locate LDAT sections outside the first<br />

segment in NON−SEGMENTED mode. It is possible to<br />

manipulate LDAT sections outside the first segment with the<br />

locator control ADDRESSES LINEAR.<br />

PDAT This Paged DATa section is mapped by the locator in one<br />

page anywhere in memory. If the assembler operates in<br />

NON− SEGMENTED mode the PDAT section type is the<br />

same as the DATA section type in SEGMENTED mode. That<br />

is why the PDAT section type should only be used in<br />

NON−SEGMENTED mode. A PDAT section size is less than<br />

or equal to 16K.<br />

HDAT This Huge DATa section specifies a non−paged section (no<br />

checking on 16K page boundaries and even no checking on<br />

64K segment boundary!) anywhere in memory.<br />

BIT This section will be mapped by the locator to bit−addressable<br />

memory (0FD00h − 0FDFFh). In these sections the location<br />

counter is incremented in bit units. All symbols defined in a<br />

BIT section get the BIT type.<br />

Table 7−3: Section types<br />

align−type This alignment type field specifies on what boundaries in<br />

memory the section will be located. In combination with<br />

AT, the align−types are used to check the specified<br />

absolute address for the desired alignment, and to force<br />

alignment of sections by the linker/locator.<br />

Align Type Description<br />

Not specified The default value of word alignment is taken for<br />

non−bit sections and bit alignment for bit sections.<br />

BIT Sections start at a bit address.<br />

BYTE Sections may start at any address.<br />

WORD Sections start at an even address (least significant<br />

bit equals 0).<br />

DWORD Double word. Sections start at an even address<br />

with the two least significant bits equal to 0).<br />

PAGE Sections start at a page boundary (module 16K).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!