Syntax

Example

Notes

$(x)Exp

Places the value of Exp in the code, on x nibbles.

CON(x)Exp

 

EXP(x)Exp

 

¢Ascii

Includes ASCII data. The end of the string is the next ¢ or carriage return.

"Ascii"

Example: ¢Hello¢. To output a ¢ character, put it twice. To put an char

 

from its number, use \xx where xx is an hex number. To put a \, put the \

 

chr twice.

GOIN5 lab

Same as $(x)label& with x=5, 4, 3 or 2. Useful to create a jump

G5 lab

table.

GOIN4 lab

 

G4 lab

 

GOIN3 lab

 

G3 lab

 

GOIN2 lab

 

G2 lab

 

SAVE

Equivalent to GOSBVL SAVPTR

LOAD

Equivalent to GOSBVL GETPTR

RPL or LOOP

Equivalent to A=DAT0.A D0+5 PC=(A)

LOADRPL

Equivalent to GOVLNG GETPTRLOOP

INTOFF2

Equivalent to GOSBVL DisableIntr

INTON2

Equivalent to GOSBVL AllowIntr

ERROR_C

Equivalent to GOSBVL ErrjmpC

A=IN2

Equivalent to GOSBVL AINRTN

C=IN2

Equivalent to GOSBVL CINRTN

OUT=C=IN

Equivalent to GOSBVL OUTCINRTN

RES.STR

Equivalent to GOSBVL MAKE$N

RES.ROOM

Equivalent to GOSBVL GETTEMP

RESRAM

Equivalent to GOSBVL MAKERAM$

SHRINK$

Equivalent to GOSBVL SHRINK$

COPY< COPY←

Equivalent to GOSBVL MOVEDOWN

COPYDN

 

COPY> COPY→

Equivalent to GOSBVL MOVEUP

COPYUP

 

DISP

Equivalent to GOSBVL DBUG (only if debug is on)

DISPKEY

Equivalent to GOSBVL DBUG.KEY (only if debug is on)

SRKLST

Equivalent to GOSBVL SHRINKLIST

SCREEN

Equivalent to GOSBVL D0>Row1

MENU

Equivalent to GOSBVL D0>Sft1

ZEROMEM

Equivalent to GOSBVL WIPEOUT

MULT.A

Equivalent to GOSBVL MULTBAC

MULT

Equivalent to GOSBVL MPY

DIV.A

Equivalent to GOSBVL IntDiv

DIV

Equivalent to GOSBVL IDIV

BEEP

Equivalent to GOSBVL makebeep

NATIVE? $hex

Set carry if native function hex is undefined, clear it if defined.

HST=1.x

Sets bits in the HST register (XM=1, SB=1, SR=1 and MP=1 are also

 

available). Note: the program ST=0.0 SB=1 ?SB=0 { ST=1.0

 

} will set ST0 to 0 if the calculator is nonemulate d and to 1 if it is

 

emulated.

?HST=1.x { }

Test for HST bits. See HST=1.x comments

SETFLD(17)

See the section on SETFLDn above.

OFF

Turns the calculator off.

The Development Library 627

Page 525
Image 525
HP 48gII Graphing, 50g Graphing manual Places the value of Exp in the code, on x nibbles