SDKZSPF LSI, SDKZSPF Datasheet - Page 92

no-image

SDKZSPF

Manufacturer Part Number
SDKZSPF
Description
Manufacturer
LSI
Datasheet

Specifications of SDKZSPF

Lead Free Status / Rohs Status
Supplier Unconfirmed
4.2.2 Assembler Directives
4-4
The following subsections describe some frequently-used assembler
directives, as well as those that are specific to the SDK assembly
language.
.walign –
The .walign directive aligns the location counter on the next word
boundary specified by an integer argument. If the location counter is
already aligned, no action is taken. Intervening words are filled with nop
instructions. For example,
.walign 32
.wspace –
The .wspace directive allocates space in a segment as specified by an
integer argument. The location counter is incremented, regardless of
alignment. For example,
.wspace 7
An optional fill value can also be given. If no fill value is given, the space
is filled with zeroes.
.wspace 7, 0xd800! Create 7 words of 0xd800
.word –
The .word directive allows you to specify zero or more comma-separated
values to be assembled into memory.
.global –
The .global directive is used to declare a global symbol. If this directive
is not used, a symbol defined in a partial program is visible only within
its scope. The .global directive makes the symbol visible to the linker.
.section –
The .section directive assembles the code following it into the section
name specified.
Example: .section, “.text”, “ax”
Assembler
Copyright © 1999-2003 by LSI Logic Corporation. All rights reserved.
! Increment the location counter by seven.
! Align to the next 32-word boundary.