EasyManua.ls Logo

HP 48GII - Page 515

HP 48GII
653 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The Development Library 6-29
4OO2!R!DKB!
4OO2!R!DKS!
4OO2!R!DKO!
4OO2!R!DK4!
4OO2!R!DK8!
4OO2!R!DK3!
4OO2!R!DKH!
4OO2!R!DKV!
4OO2!R!DKa!
4OO2!a!D48!
4OO2!a!D43!
4OO2!a!DK2!
4OO2!a!DK2a!
4OO2!a!DK2VH!
4OO2!a!DD:!
4OO2!a!D;D:!
4OO2!a!DOBKKP!
4OO2!a!D4<O!
4OO2!gVH!DKDOr!
4OO2!a!DKD:r2!
4OO2!gHQc!D7MBDr!
4OO2!g3HR!D7D:BK:!
4OO2!g3HR!D7E<=>:;!
xI!
4.4 System RPL mode
MASD can also compile SysRPL programs (you should read the book “An Introduction to System RPL” before
trying to write System RPL programs).
The
•K2E directive will switch MASD in RPL mode.
Note: if the Flag –92 is Set, MASD starts in
•K2E and •=L!OL4< mode.
4.4.1 Instructions
In RPL mode, MASD interprets instructions/tokens in the following order.
Reals and system binary
If the instruction is a decimal number, a system binary is created (MASD will try, if possible, to use the internally
defined system binary). It that number has a decimal point (in the middle, or starts with the decimal point), a real
number is created.
Unnamed local variables
If the instruction is a recall or a set of a local variable defined by
ff the correct instruction is generated.
A local environment is created using:
ff!w$j3!w$jH!ddd!w$j
=
!hh with N<23
These variables have names during compile time, but they are implemented as unnamed local variables, which are
faster to access than named local variables.
A local variable is recalled by typing its name or with an optional ending
x.
Data can be stored in a local variable by typing its name, with a leading or ending
or a leading [.
Note 1: Local variable are available until the next local definition.
Note 2: The local environment is not closed automatically, use
BS=4 or other provided words.
Example:
ff!u$%)u3!u$%)uH!dd!u$%)u=!hh will become:
+!=5EEEBM!zg=9!=452=!4LS6=4!-kj!3EBMS6=4 if there is only one variable)
And:
u$%)u3!!3><:EBM!
u$%)u3x!
!3><:EBM!
[u$%)u3!
!325:EBM!
•u$%)u3!
!325:EBM!
u$%)u3•!
!325:EBM!
Program example

Table of Contents

Other manuals for HP 48GII

Related product manuals