Chapter 19. HPPA Dependent Features
119
.export name [ ,typ ] [ ,param=r ]
Make a procedure
name
available to callers.
typ
, if present, must be one of
absolute
,
code
(ELF only, not SOM),
data
,
entry
,
data
,
entry
,
millicode
,
plabel
,
pri_prog
, or
sec_prog
.
param
, if present, provides either relocation information for the procedure arguments and result,
or a privilege level.
param
may be
argwn
(where
n
ranges from
0
to
3
, and indicates one of
four one word arguments);
rtnval
(the procedure's result); or
priv_lev
(privilege level). For
arguments or the result,
r
specifies how to relocate, and must be one of
no
(not relocatable),
gr
(argument is in general register),
fr
(in floating point register), or
fu
(upper half of float register).
For
priv_lev
,
r
is an integer.
.half n
Define a two byte integer constant
n
; synonym for the portable
as
directive
.short
.
.import name [ ,typ ]
Converse of
.export
; make a procedure available to call. The arguments use the same conven 
tions as the first two arguments for
.export
.
.label name
Define
name
as a label for the current assembly location.
.leave
Not yet supported; the assembler rejects programs containing this directive.
.origin lc
Advance location counter to
lc
. Synonym for the
as
portable directive
.org
.
.param name [ ,typ ] [ ,param=r ]
Similar to
.export
, but used for static procedures.
.proc
Use preceding the first statement of a procedure.
.procend
Use following the last statement of a procedure.
label .reg expr
Synonym for
.equ
; define
label
with the absolute expression
expr
as its value.
.space secname [ ,params ]
Switch to section
secname
, creating a new section by that name if necessary. You may only
use
params
when creating a new section, not when switching to an existing one.
secname
may
identify a section by number rather than by name.
If specified, the list
params
declares attributes of the section, identified by keywords. The key 
words recognized are
spnum=exp
(identify this section by the number
exp
, an absolute expres 
sion),
sort=exp
(order sections according to this sort key when linking;
exp
is an absolute ex 
pression),
unloadable
(section contains no loadable data),
notdefined
(this section defined
elsewhere), and
private
(data in this section not available to other programs).






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

canadian web hosting

 

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