Arm; Section 6 - The Entry Point Library: Extable; Nop; Getname - HP 48gII Advanced User's Reference Manual

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

Advertisement

Level 2
Binary integer (start address of the
memory area to disassemble)

ARM

The ARM-> disassembler converts ARM assembly into a source string.
Each line contains an address and an instruction.
If the system flag -71 is set (with
this case, the resulting source may be then reassembled if needed.
ARM-> can either disassemble a CODE object (which does not make much sense at this point in time) or the
memory area between 2 given Saturn addresses (as binary integer).
Example:
-71 CF2
874FF LDMGEIA R0 ! { R5 R6 R7 LP PC }
87507 STMDB R5
8750F BL
87527
87517 BLGE 87527
8751F BGE 87527
87527 ADD
R0 R0 R0
8752F MOV
R0 R1
87537 TST
R4 R5
Level 2
Binary integer (start address of the
memory area to disassemble)
Section 6 – 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

This function is here for internal purposes and should not be used. Running this function does nothing

GETNAME

Lookup for the name of an entry from its address.
Example: #054AFh GETNAME -> "INNERCOMP"
Note: as multiple entries might have the same address, GETNAME is not a bijective (one-to-one) function
Level 1
->
Level 1
Binary integer ->
String
Level 1
Binary integer end
address
Code object
), addresses are not shown, except for the destinations of jumps. In
-71 SF
(default)
{ R5 R12 PC }
Level 1
Binary integer end
address
Code object
->
Level 1
->
String (disassemble between
the 2 address)
->
String
-71 SF2
LDMGEIA R0 ! { R5 R6 R7 LP PC }
STMDB R5
{ R5 R12 PC }
BL
876E3
BLGE 876E3
BGE 876E3
*876E3
ADD
R0 R0 R0
MOV
R0 R1
TST
R4 R5
@
->
Level 1
->
String (disassemble between
the 2 address)
->
String
The Development Library 6-35

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents