HP RPN SCIENTIFIC WP 34S Owner's Manual page 190

Table of Contents

Advertisement

(Pseudo-)
XROM
Command
or LIB
XEQUSR label
XROM
xIN type
XROM
XLBL"label"
XROM
xOUT way
XROM
_INT n
XROM
"text"
A..D
XROM
Furthermore, there are several 'alias' spellings to ease input of some commands or even
of individual nonstandard characters on an English computer keyboard. E.g. the Greek
letter 'α' is often replaced by a Latin 'a', the print character ⎙ by 'P.' etc. Again, the
assembler will take care of translating the aliases.
See the file 8queens_alias.wp34s (or other files of type ..._alias.wp34s in 'library')
for examples. Command-Aliases.pdf in 'doc' contains a list of all aliases used (some
50 pages).
WP 34S Owner's Manual
Function
calls the user routine containing the function to be solved, integrated,
summed, or multiplied, respectively. The label of this function is
transmitted as a parameter of the respective user command
described above (such as e.g. SLV).
XEQUSR must be followed by POPUSR immediately to restore the
XROM execution state (registers, flags, return addresses) correctly.
with
type
..._COMPLEX
or
parameter input to the function under consideration. Furthermore it
does some initialization work (e.g. SSIZE8 and DBLON).
xIN is the recommended way to start an XROM routine. Thereafter,
SSIZE4 is legal but DBLOFF is not. Note xIN cannot nest and XROM
routines using xIN cannot call user code.
defines the eXternal LaBeL of this routine. XLBL doesn't generate
any code, it provides an entry point that the C function tables can take
advantage of. Typically, label equals the respective command name.
typically, way =
settings of xIN, taking care of a proper return including the correct
setting of
l
of an XROM routine.
1, 2, ..., 128, but also calculated constants are possible. _INT inserts
the respective constant like # does.
Both
The double quotes allow for convenient entry of text strings. The
assembler translates the string into the amount of α-statements
required.
recalls
a
,
b
see above).
NILADIC
=
,
defines how many stack levels are used for
xOUT_NORMAL
and the stack. Generally, xOUT shall be the last command
,
c
, and
d
from their temporary storage (very short range,
Edition 3.1
MONADIC
DYADIC
,
. xOUT cleans and reverts the
TRIADIC
,
,
Page 190 of 211

Advertisement

Table of Contents
loading

Table of Contents