5.1.1 Basic structure

This section explains the general structure of a source program.

(1)

Section

A source program consists of blocks called sections.

 

Source program = A group of sections

 

There are two types of section; code sections and data sections.

Each section has a separate location counter. The location counter of a relocatable section holds an address relative to the start of the section, and that of an absolute section holds an absolute address in the memory space.

Each section can be allocated to any address through the optimizing linker, but the address of an absolute section cannot be changed from that specified in the source program.

(2)

Module

A module is the unit of source program that is processed at one time by this assembler. One module corresponds to an assembly source file.