beautypg.com

1 absolute, 2 arch, Absolute – Avago Technologies LSI53C1010 User Manual

Page 128: Arch

background image

4-8

Using the LSI Logic Assembler NASM™

4.6.1 ABSOLUTE

ABSOLUTE defines the symbol name by assigning it a numeric value.
After you declare a name using ABSOLUTE, NASM substitutes this
numeric value in each instruction where the name is used.

4.6.2 ARCH

ARCH directs the assembler to generate instructions that are specific to a chip
architecture.

TABLE

Table Addressing

Code Generation

ARCH

Code Generation

Miscellaneous

PROC

Module Definition

ENTRY

Code Entry Labels

Table 4.1

Keywords (Cont.)

Keyword

Function

Syntax

ABSOLUTE name = expression

Example

ABSOLUTE bytes = 2048; A sector is 2048 bytes
ABSOLUTE sectors = 4; A cluster has 4 sectors
ABSOLUTE cluster = bytes; cluster size
ABSOLUTE bytecnt = bytes; bytecnt is an indexing
variable

Description

ABSOLUTE supplies a list of names, or labels, solely for the use
of the assembler. NASM refers to this list when it is actually
assembling the program.

Syntax

ARCH chip_number

Fields

chip_number

This manual is related to the following products: