HP 50g User's Reference Manual
Download Advanced user's reference manual of HP 48gII Calculator for Free or View it Online on All-Guides.com.
Brand: HP
Category: Calculator
Type: Advanced user's reference manual
Model: HP 48gII , HP 49g+ , HP 50G
Pages: 693
The Development Library 6-13
Define Error
You can not do this operation in a DEFINE
ARM register expected
No comments.
ARM invalid imediate
In ARM mode, constants must be representable on 8 bit with
an even number of rotation
Links
Links are secondary source files that MASD can be directed to compile (equivalent to the {$I} directive in Pascal
and #include in C). As there is no linking phase with MASD (like in C), a multi source project will usually have the
form of a main source file that contains a certain number of links.
An example of main source would be:
"
'Constant_definition
'initialization
'graphic_functions
'other
@"
When a link call is encountered, MASD suspends compilation of the current source, compiles the new source and
then continues compiling the first one.
Program and data in the final object will be in the order in which MASD encounters the links.
Syntax in ASM and ARM mode:
'FileName
links the file called FileName.
Syntax in RPL mode:
INCLUDE FileName
links the file called FileName.
Notes:
1. A link can call other links
2. You can not use more than 64 links in your project
3. To know how MASD looks for files, see the File search section
4. Links are useful to cut projects in independent parts to allow fast and easy access to source code
5. It is beneficial to place all constants definitions at the beginning of the compilation process as this will speed up
compilation and give more flexibility
Labels
A label is a marker in the program. The principal use of labels is to determine jump destinations.
A label is a set of less than 64 characters other than space, ‘
+
’, ‘
-
’, ‘
*
’ and ‘
/
’. A label begins with a star ‘
*
’ and
ends with a separation character.
Syntax in ASM and ARM mode:
*BigLoop
is the BigLoop label declaration.
Syntax in RPL mode:
LABEL BigLoop
is the BigLoop label declaration.
Be careful about upper and lower cases!
Three types of labels can be used:
• Global labels
A global label is a label that can be used everywhere in the project, like global variables in Pascal or C.
• Local labels