HP 48gII Advanced User's Reference Manual page 499

Graphing calculator
Hide thumbs Also See for 48gII:
Table of Contents

Advertisement

Operator Priority Notes
<<
>>
%
*
/
+
-
<
>
<=,
>=,
=
#,
&
!
^
Note: throughout this documentation, you will see talks about expressions that can be "immediately" evaluated. This
refers to any expression that contains only number and labels/constants that have already been declared.
4.1.11
Macros and includes
If data are to be included in a project, it can be entered in hex in a source file, using
include data from an external file, called a macro. The macro file must be a character string, a graphic, a code object
or a list.
-
In case of a string or a code, MASD includes only the data part (after the length) of the object
-
In case of a graphic, only the graphic data will be included (no length, no dimensions)
-
In case of a list, only the first object of the list will be included following the previous rules
The syntax in ASM or ARM mode is:
Note: To know how MASD looks for the FileName file, see the following section.
You can also include a complete object (prologue included) using
use
or
INCLUDE
INCLOB
4.1.12
Filename conventions
MASD sometimes needs to find a file in the calculator's memory. The file can be found either by specifying the file
name and location, or only the file name to be search in the directory search list.
The initial directory search list contains the current directory, and all parents directory up to the HOME directory.
You can add a directory in the directory search list using
directory name using filename rules.
To specify a full path, use
to specify HOMEDIR as the root.
H/
where x is a port number, to specify a port as root. Note: you can not use 3 (SD card) here.
x/
This root is followed by a list of directories, ending with the name of the file.
specifies the BRA file in the BAR directory, stored in the FOO backup of the port 2.
2/FOO/BAR/BRA
specifies the YOU file in the ME directory, in the HOMEDIR.
H/ME/YOU
Note: You can not have more than 16 entries in the directory search path.
7
Left Shift
1<<5 = $20
7
Right shift
$20>>5 = 1
6
Modulo (remainder of division) X%0=0
5
Multiplication
5
Division X/0=$FFFFFFFFFFFFFFFF
4
Addition
4
Subtraction
3
Is smaller (true=1, false = 0)
3
Is greater (true=1, false = 0)
3
Is smaller or equal (true=1, false = 0)
3
Is greater or equal (true=1, false = 0)
3
Is equal (true = 1, false = 0)
3
Is different (true = 1, false = 0)
2
Logical and
1
Logical or
1
Logical xor
/FileName
followed by a filename to include an object, in RPL mode, use
or
INCLUDE
INCLOB
where RepName identifies a
!PATH+ RepName
The Development Library 6-13
. However, a simpler way is to
$
. In ASM or ARM mode,
.
INCLOB

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents