Chapter 8. Assembler Directives
47
8.25.
.else
.else
is part of the
as
support for conditional assembly; Section 8.45
.if absolute expression
.
It marks the beginning of a section of code to be assembled if the condition for the preceding
.if
was
false.
8.26.
.elseif
.elseif
is part of the
as
support for conditional assembly; Section 8.45
.if absolute
expression
. It is shorthand for beginning a new
.if
block that would otherwise fill the entire
.else
section.
8.27.
.end
.end
marks the end of the assembly file.
as
does not process anything in the file past the
.end
directive.
8.28.
.endef
This directive flags the end of a symbol definition begun with
.def
.
.endef
is only meaningful when generating COFF format output; if
as
is configured to generate
b.out
, it accepts this directive but ignores it.
8.29.
.endfunc
.endfunc
marks the end of a function specified with
.func
.
8.30.
.endif
.endif
is part of the
as
support for conditional assembly; it marks the end of a block of code that is
only assembled conditionally. Section 8.45
.if absolute expression
.
8.31.
.equ symbol, expression
This directive sets the value of
symbol
to
expression
. It is synonymous with
.set
; Section 8.79
.set symbol, expression
.
The syntax for
equ
on the HPPA is
symbol .equ expression
.
8.32.
.equiv symbol, expression
The
.equiv
directive is like
.equ
and
.set
, except that the assembler will signal an error if
symbol
is already defined. Note a symbol which has been referenced but not actually defined is considered to
be undefined.
Except for the contents of the error message, this is roughly equivalent to
.ifdef SYM
.err
.endif
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved