EasyManua.ls Logo

Panasonic FP-E - Page 424

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High−level Instructions
3 − 160
Conversion example
The following shows conversion of hexadecimal data to ASCII codes.
Conversion of four bytes of data (S2 = K4)
46 45
EF 12 AB CD
S1+1 S1
Hexadecimal data
4 bytes
32 31 42 41
D+1 D
Converted
result
Result of S1 + 1
conversion
F71 (HEXA) instruction execution
Result of S1 conversion
D+3 D+2
44 43
21FE DCBA
Conversion of three bytes of data (S2 = K3)
Since “byte” is specified as the unit, it is possible to convert only the last byte of the data for one word if
desired.
12 AB CD
S1+1 S1
Hexadecimal data
3 bytes
32 31 42 41
D+1 D
Converted result D+2
44 43
21 DCBA
F71 (HEXA) instruction execution
ASCII HEX codes to express hexadecimal characters
Hexadecimal
number
ASCII HEX
code
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
H30
H31
H32
H33
H34
H35
H36
H37
H38
H39
H41
H42
H43
H44
H45
H46
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com