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
6-42 The Development Library
The Entry Point Library: Extable
The entry point library is an external library (you can get it from the HP web site) that contains a table of entry point
names and addresses. This is used by the MASD compiler to get the value of System RPL entry points or assembler
constants (like TURNMENUOFF for example).
This library should be stored in port 0, 1 or 2. If you want to program in System RPL, you must install this library.
This library also contains 4 functions:
nop
Description:
This function is here for internal purposes and should not be used. Running this function does
nothing.
Input/Output: None
GETNAME
Description:
Looks up the name of an entry from its address.
As multiple entries might have the same address, GETNAME is not a bijective (one-to-one)
function.
Input/Output:
Level 1/Argument 1 Level 1/Item 1
#n
→
“string”
Example:
#054AFh GETNAME
returns
"INNERCOMP"
.
GETADR
Description:
Looks up the address of an entry from its name.
As multiple entries might have the same address, GETNAME is not a bijective (one-to-one)
function.
Input/Output:
Level 1/Argument 1 Level 1/Item 1
“string”
→
#n
Example:
"INNERCOMP" GETADR
returns
#054AFh
.
GETNAMES
Description:
Finds all the entries whose names start with a specific string.
Giving a null string as an input will return a list of all the entry points.
Input/Output:
Level 1/Argument 1 Level 1/Item 1
“string”
→
{“string
1
”, ...,“string
n
”}
Example:
"COMP" GETNAMES
returns
{ "COMPCONFCRC" "COMPEVAL" }
.
Library 257
Library 257 is used by the development library but is also not attached by default. It provides three commands. asm
is identical to ASM in library 256 (ASM is a stub that calls asm), er is identical to ER in library 256 (ER is a stub that
calls er), and ASM2 calls asm and automatically calls er if there are errors.