Echelon Neuron Manual de usuario Pagina 167

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 237
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 166
SEG (Segment Control)
The SEG directive controls the currently open segment type. Any of the
supported segment types (including the one that is currently active) can be
selected. The active segment selection can be changed as needed.
The assembler groups assembly instructions and data blocks into one or more
segments. A segment is a group of assembly instructions and data blocks that are
assembled into consecutive bytes of machine instructions and data, at
consecutive and ascending addresses. The basic unit for the assembler is a
statement, but the basic unit for the linker is a segment. The linker relocates
code and data on a segment-by-segment basis.
During assembly:
• One segment of each type is always open.
• Additional code and data can be added only to an open segment.
• Only one of the open segments is the currently active segment.
• The next assembly instruction or data statement encountered in the
assembly file is added to the active segment.
The segment type does not affect the assembly of the source lines within it, but
does affect the linking of the segment.
The SEG directive does not cause additional segments to be opened, but instead
selects which of the open segments is active. When the assembler starts, it opens
an empty, relocatable segment of each type, and selects the ROM segment as the
active segment. Thus, the simplest assembly files need not use either a SEG or
ORG directive if only a single ROM segment is needed.
Typical assembly programs use SEG CODE for code and constant data, SEG
RAMFAR or RAMNEAR for RAM variables, and EEFAR or EENEAR for non-
volatile, persistent, variables.
See also ORG (Segment Control).
Syntax:
The SEG directive requires one argument for the type of segment that is being
made active. This directive cannot have a label.
SEG CODE
SEG EECODE
SEG EEFAR
SEG EENEAR
SEG INITCODE
SEG RAMCODE
SEG RAMFAR
SEG RAMNEAR
SEG ROM
SEG SIDATA
Segment type names can be specified in either lower or upper case. See Segments
for information about the segment types.
Neuron Assembly Language Reference 157
Vista de pagina 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 236 237

Comentarios a estos manuales

Sin comentarios

Bosch Power Tools F 012 286 000 2860 manuály

Uživatelské manuály a uživatelské příručky pro ne Bosch Power Tools F 012 286 000 2860.
Poskytujeme 1 manuály pdf Bosch Power Tools F 012 286 000 2860 ke stažení zdarma podle typů dokumentů: Uživatelský manuál






Další produkty a příručky pro ne Bosch Power Tools

Modely Typ Dokumentu
601594039 Uživatelský manuál Bosch Power Tools 601594039 User's Manual, 2 stránky
CS10 Uživatelský manuál Bosch Power Tools CS10 User's Manual, 4 stránky
601598460 Uživatelský manuál Bosch Power Tools 601598460 User's Manual, 2 stránky
603310639 Uživatelský manuál Bosch Power Tools 603310639 User's Manual, 1 stránky
601293039 Uživatelský manuál Bosch Power Tools 601293039 User's Manual, 2 stránky
10601617739 Uživatelský manuál Bosch Power Tools 10601617739 User's Manual, 2 stránky
611318739 Uživatelský manuál Bosch Power Tools 611318739 User's Manual, 2 stránky
1942 Uživatelský manuál   Bosch Power Tools 1942 User's Manual, 2 stránky
GSH 16-28 Uživatelský manuál   Bosch Power Tools GSH 16-28 User's Manual, 6 stránky
SG45M Uživatelský manuál   Bosch Power Tools SG45M User's Manual, 32 stránky
601294739 Uživatelský manuál Bosch Power Tools 601294739 User's Manual, 1 stránky
601276939 Uživatelský manuál Bosch Power Tools 601276939 User's Manual, 2 stránky
VDN-240 Uživatelský manuál     Bosch Power Tools VDN-240 User's Manual, 2 stránky