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.

7−16<br />

DIRECTIVES<br />

Chapter 7<br />

A GROUP directive serves as a ’shorthand’ way of referring to a<br />

combination of sections. A specified collection of sections is grouped at<br />

link−time and can be located as a logical unit to one physical segment or<br />

page. The assembler works in terms of sections. When you define a<br />

variable or label, the assembler assigns that variable or label to the section<br />

in which it was defined. The offset associated with the variable or label is<br />

from the base of its own section and not from the base of the group.<br />

If a member of a group is an absolute section (specified with the<br />

align−type AT ...) then the group is implicitly absolute as well.<br />

Field Values:<br />

group−name is a unique a166 identifier to be used as the name for the<br />

group<br />

sect−name a section name<br />

sect−part a sect−name or SYSTEM<br />

Example:<br />

CSEC1 SECTION CODE<br />

.<br />

.<br />

CSEC1 ENDS<br />

CSEC2 SECTION CODE<br />

.<br />

.<br />

CSEC2 ENDS<br />

CODEGRP CGROUP CSEC1, CSEC2 ; Group combination<br />

; of the CODE<br />

; sections CSEC1 and<br />

; CSEC2

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

Saved successfully!

Ooh no, something went wrong!