beautypg.com

6 assembler declarative keywords, Table 4.1 keywords, Assembler declarative keywords – Avago Technologies LSI53C1010 User Manual

Page 127: Keywords

background image

Assembler Declarative Keywords

4-7

token. For example, the string “xxx = 0x123; assign value to xxx”
contains three tokens. “xxx” is a token, “=” is a token, and “0x123” is a
token.

Numeric values may be specified in decimal, hexadecimal, octal, or
binary format. Decimal numbers are specified by a string of digits that
does not begin with a zero. Octal numbers are specified by a string of
digits that begins with zero. Hex numbers are specified by a string
consisting of “0x” or “0X” and the hex digits of the number. Both upper
and lower case are allowed. A binary number is specified with “0b” or
“0B”.

4.6 Assembler Declarative Keywords

To do its job efficiently, the assembler needs to recognize a set of
commands that are different from the processor instructions. These
commands, called declarative keywords, control the different aspects of
code generation and are intended for the assembler’s use. In most
cases, the declarative keywords will not produce executable code by
themselves, but must be combined with processor instructions to
generate assembled code.

The declarative keywords are grouped functionally in

Table 4.1

. They are

listed alphabetically and defined in the remainder of this section.

Table 4.1

Keywords

Keyword

Function

Data Definition and Storage

ABSOLUTE

Equates

RELATIVE, EXTERN

Storage Definition

This manual is related to the following products: