ARM→

Description: MASD ARM assembly disassembler command: Disassembles a Code object or a range of memory addresses containing ARM machine language to produce the assembly language source code.

Read later in this chapter for more details.

Input/Output:

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

"string"

obj

 

 

 

 

 

Example:

Code ARMmight return "ADD

R0 R0 R0MOV

R0 R1@".

 

 

 

 

 

ASM

Description: MASD assemble/compile command: Compiles a string containing System RPL, Saturn assembly, or ARM assembly code into an object that the calculator can use.

Read later in this chapter for details on the format of the string.

Input/Output:

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

 

 

"string"

obj

 

 

 

 

 

 

 

 

 

Level 1/Argument 1

 

Level 2/Item 1

Level 1/Item 2

 

 

 

 

 

 

 

 

"string"

obj

"debug string"

 

 

 

 

 

 

 

 

"string"

"string"

{error list}

 

"!NO

 

 

 

 

Example:

CODE!RPL::

x»;@" ASM returns « ».

 

 

 

 

 

 

 

ASM→

Description: MASD Saturn assembly disassembler command: Disassembles a Code object or a range of memory addresses containing Saturn machine language to produce the assembly language source code. Read later in this chapter for more details.

Input/Output:

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

Code

"string"

 

 

 

 

Example:

Code ASMmight return "D0=AD0+5C=DAT0

AR0=C A".

 

 

 

 

 

BetaTesting

Description: Test string command: Returns a string useful for testing purposes.

Input/Output:

 

 

Level 1/Argument 1

Level 1/Item 1

 

 

 

 

 

 

“string”

 

 

 

 

Example:

BetaTesting returns "Sébastien Eric John…".

 

 

 

 

 

CD

Description:

Code to hex command: Returns the hex representation of a code (Assembly program) object.

Input/Output:

 

 

 

 

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

Code

“string”

Example: Code CDmay return "8F507621301641468…".

The Development Library 6-3