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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

<strong>Utilities</strong> 10−31<br />

Space<br />

BITA<br />

BIT<br />

non−<br />

segmented<br />

Size Maximum Object Size<br />

segmented<br />

non−<br />

segmented<br />

segmented<br />

RAM ROM RAM ROM RAM ROM RAM ROM<br />

256<br />

(bytes)<br />

2048<br />

(bits)<br />

0 256<br />

(bytes)<br />

0 2048<br />

(bits)<br />

0 256<br />

(bytes)<br />

0 256<br />

(bytes)<br />

0 1 (bit) 0 1 (bit) 0<br />

Table 10−3: Default properties memory spaces that overlap IRAM<br />

These two memory spaces are not used during the automatic allocation<br />

process but overlap the IRAM memory space. So, a reservation or a direct<br />

allocation in one of the memory spaces will influence the available space<br />

in the IRAM memory space.<br />

You can set most of the properties of the above listed memory spaces with<br />

the −m and −T command line options. The −m option controls the<br />

available memory in a particular space. The −T option controls the<br />

maximum object size that can be allocated in a particular memory space.<br />

See section 10.6.8, Options for the details of the options −m and −T.<br />

Each time gso166 generates a .gso file, it will set the $GSO166 directive<br />

in this file. c166 does not accept a file that does not have this directive. A<br />

file that has both the $GSO166 directive and an object allocated in<br />

memory space ’AUTO’, is considered invalid.<br />

10.6.4 PRE−ALLOCATION FILES<br />

With a pre−allocation file gso166 can be forced to allocate a particular<br />

object into a certain memory space. The memory specified in a<br />

pre−allocation file is applied after linking the application. You cannot<br />

overwrite any memory space other than the ’AUTO’ memory space.<br />

You can specify pre−allocation files on the command line with the −a<br />

option. Multiple −a options (pre−allocation files) are allowed.<br />

The format of pre−allocation files is described in section 10.6.10,<br />

Pre−allocation File Format.<br />

0

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

Saved successfully!

Ooh no, something went wrong!