Standard
RLL Instructions
5–87
Standard RLL Instructions
Number Conversion Instructions
Operand Data Type DL05 Range
aaa
Vmemory V All (See p. 4–28)
Discrete Bit Flags Description
SP53 On when the value of the operand is larger than the accumulator can work with.
In the following example, when X1 is ON the constant (K2) is loaded into the
accumulator using the Load instruction. The starting location for the HEX table
(V1500) is loaded into the accumulator using the Load Address instruction. The
starting location for the ASCII table (V1400) is specified in the HEX to ASCII
instruction.
DirectSOFT Display
Handheld Programmer Keystrokes
LD
K2
X1
Load the constant value into
the lower 16 bits of the
accumulator. This value
defines the number of V
locations in the HEX table.
LDA
O 1500
Convert octal 1500 to HEX
340 and load the value into
the accumulator
HTA
V1400
V1400 is the starting
location for the ASCII table.
The conversion is executed
by this instruction.
ASCII TABLE
Hexadecimal
Equivalents
1234
33 34
V1400
5678
31 32 V1401
37 38
V1402
35 36
V1403
V1500
V1501
STR
$
SHFT
ANDST
L
3
D
SHFT
JMP
K
4
E
ENT
SHFT
ANDST
L
3
D
0
A
0
A
0
A
ENT
SHFT
1
B
ENT
0
A
0
A
ENT
1
B
5
F
0
A
MLR
T
7
H
1
B
4
E
The table below lists valid ASCII values for HTA conversion.
ASCII Values Valid for HTA Conversion
Hex Value ASCII Value Hex Value ASCII Value
0 30 8 38
1 31 9 39
2 32 A 41
3 33 B 42
4 34 C 43
5 35 D 44
6 36 E 45
7 37 F 46