103
Conversion Instructions Section 3-10
ASCII TO HEX
HEX
@HEX
162
Output
Required
COLUMN TO
LINE
LINE
@LINE
063
Output
Required
LINE TO COL-
UMN
COLM
@COLM
064
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
S: 1st source
word
Di: Digit
designator
D: Destination
word
HEX(162)
S
Di
D
First byte to convert
Number of digits (n+1)
Right (0)Left (1)
First digit to write
C: 0021
Di
Converts up to 4 bytes of ASCII data in the source word to their hexadecimal
equivalents and writes these digits in the specified destination word.
S: 1st source
word
N: Bit number
D: Destination
word
LINE(063)
S
N
D
Converts a column of bits from a 16-word range (the same bit number in 16
consecutive words) to the 16 bits of the destination word.
0
0 0 0 1 1 1 1 0 001 0 0 0 01
Bit
15
Bit
00
S
N
1 1 0 1 0 0 1 0 011 1 0 0 01
S+1
0 0 0 1 1 0 1 1 001 0 0 1 11
S+2
.
.
.
.
.
.
. . .
.
.
.
0 1 1 0 0 0 0 1 100 0 1 0 10
S+15
1 0 0 0 0 0 1 1 000 0 0 1 11
S+3
0 1 1
D
1
Bit
15
Bit
00
.
.
.
S: Source word
D: 1st destination
word
N: Bit number
COLM(064)
S
D
N
Converts the 16 bits of the source word to a column of bits in a 16-word range
of destination words (the same bit number in 16 consecutive words).
0
0 0 0 0 1 1 1 0 001 0 0 0 01
Bit
15
Bit
00
D
Bi
1 1 0 1 0 0 1 0 011 1 0 0 01
D+1
0 0 0 1 1 0 1 1 001 0 0 1 11
D+2
.
.
.
.
.
.
.
.
.
.
0 1 1 1 0 0 0 1 100 0 1 0 10
D+15
1 0 0 0 0 0 1 1 000 0 0 1 11
D+3
0 1 1
S
1
Bit
15
Bit
00
. . . . . .
.
.
.