2-209

2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Conversion Instructions
2
HEX
Example of converting multiple bytes of ASCII code to hex
Di: #0112 Di: #0030 Di: #0131
Digit 3 Digit 2 Digit 1 Digit 0
Leftmost
Rightmost
Digit 3 Digit 2 Digit 1 Digit 0
Digit 3 Digit 2 Digit 1 Digit 0
Leftmost Rightmost
Leftmost
Rightmost
Leftmost
Rightmost
Leftmost Rightmost
S
S+1
D
811
1215 0347
D
811
1215 0347
S
S+1
S+2
F
811
1215 0347
8815 0 15 077 815 07
S
S+1