Programming
Reading and writing the program memory.
59
COMPAX natural language memory command code table
Command
Code
ACCEL
Parameter
0x6C
No.H
Nr.L
ACCEL
Variable
0xCC
No.H
Nr.L
ACCEL
Value
0x4C
MSB
LSB
END
0x45
0x00
GOSUB EXT
0x42
0x00
0x00
GOSUB
Value
0x42
MSB
LSB
GOTO EXT
0x47
0x00
0x00
GOTO
Value
0x47
MSB
LSB
IF ERROR GOSUB
n
0x49
0x00
0xFF
0x31
0x42
n MSB
n LSB
IF ERROR GOTO
n
0x49
0x00
0xFF
0x31
0x47
n MSB
n LSB
IF E
x
=
y
GOSUB
n
0x49
x MSB
x LSB
y
0x42
n MSB
n LSB
IF E
x
=
yy
GOSUB
n
0x49
x MSB
x LSB
y1
y2
0x42
n MSB
n LSB
IF E
x
= . . .
...
...
...
...
...
...
...
...
IF E
x
=
yyyyyyyy
GOSUB
n
0x49
x MSB
x LSB
y1
y2
y3
y4
y5
y6
y7
y8
0x42
n MSB
n LSB
IF E
x
=
y
GOTO
n
0x49
x MSB
x LSB
y
0x47
n MSB
n LSB
IF E
x
=
yy
GOTO
n
0x49
x MSB
x LSB
y1
y2
0x47
n MSB
n LSB
IF E
x
= . . .
...
...
...
...
...
...
...
...
IF E
x
=
yyyyyyyy
GOTO
n
0x49
x MSB
x LSB
y1
y2
y3
y4
y5
y6
y7
y8
0x47
n MSB
n LSB
IF <
Operand1
> <
Comparison operator
> <
Operand2
> GOTO
n
0x4A
O1Type
O1D1
O1D2
O1D3
O1D4
O1D5
O1D6
Vglop
O2Type
O2D1
O2D2
O2D3
O2D4
O2D5
O2D6
0x47
n MSB
n LSB
IF <
Operand1
> <
Comparison operator
> <
Operand2
> GOSUB
n
0x4A
O1Type
O1D1
O1D2
O1D3
O1D4
O1D5
O1D6
Vglop
O2Type
O2D1
O2D2
O2D3
O2D4
O2D5
O2D6
0x42
n MSB
n LSB
IF STOP GOSUB
n
0x49
0x00
0xFE
0x31
0x42
n MSB
n LSB
IF STOP GOTO
n
0x49
0x00
0xFE
0x31
0x47
n MSB
n LSB
LOOP
n
0x4B
n MSB
n LSB
LOOP
Parameter
0x6B
No.H
Nr.L
LOOP
Variable
0xCB
No.H
Nr.L
OUTPUT A
x
=
y
0x4F
x MSB
x LSB
y
OUTPUT A
x
=
yy
0x4F
x MSB
x LSB
y1
y2
OUTPUT A
x
=. . .
...
...
...
...
...
...
OUTPUT A
x
=
yyyyyyyy
0x4F
x MSB
x LSB
y1
y2
y3
y4
y5
y6
y7
y8
OUTPUT A0=y
0x4F
0x00
0x00
y
POSA
HOME
0x41
0xFF
0xFF
0xFF
0xFF
0xFF
0xFF
POSA
Parameter
0x61
No.H
Nr.L
0x00
0x00
0x00
0x00
POSA
Variable
0x1C
No.H
Nr.L
0x00
0x00
0x00
0x00
POSA
Value t
0x41
NL
NM
NH
VL
VM
VH
POSR CAM
0x52
0xFF
0xFF
0xFF
0xFF
0xFF
0xFF
POSR
Parameter
0x72
No.H
Nr.L
0x00
0x00
0x00
0x00
POSR
Variable
0x2D
No.H
Nr.L
0x00
0x00
0x00
0x00
POSR
Value
0x52
NL
NM
NH
VL
VM
VH
REPEAT
Parameter
0x74
No.H
Nr.L
REPEAT
Variable
0x4D
No.H
Nr.L
REPEAT
Value t
0x54
MSB
LSB
RETURN
0x55
0x00
SETC
n
0x43
n MSB
n LSB