Mitsubishi Electronics E60 Video Game Controller User Manual


 
DBCD
- 112 -
{ DBCD ... BIN BCD conversion (32-bit)
Usable device
Bit device Word device
Con-
stant
Pointer Level
X Y M L SM F T C D R Z K H P N
Digit
desig-
nation
No. of
steps
Index
S
D
4
Setting data
D
BIN data or head No. of
device where BIN data is
stored.
S
Head No. of device to
store BCD data.
DBCD conversion command
DBCD
DBCD
S D
Function
The BIN data (0 to 99999999) of the device designated with S is BCD converted and transmitted to
the device designated with D.
S side BIN 99999999
D side BCD 99999999
000 0000 111111110000 111 0 01111 1111
1,000th place
100th place
10th place
1st place
BCD conversion
Always set to 0 (High-order 5-bit)
101 0110 100101000011 110 0 11100 1001
1,000,000th place
10,000,000th place
D (Low-order 4-digit)
D+1 (
High-order 4-digit)
S+1 (High-order 16-bit) S (Low-order 16-bit)
100,000th place
10,000th place
2
31
2
30
2
29
2
28
2
27
2
26
2
25
2
24
2
23
2
22
2
21
2
20
2
19
2
18
2
17
2
16
2
15
2
14
2
13
2
12
2
11
2
10
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
8
4
2
1
8
4
2
1
8
4
2
1
8
4
2
1
8
4
2
1
8
4
2
1
8
4
2
1
8
4
2
1
10
7
10
6
10
5
10
4
10
3
10
2
10
0
10
1
(Note 1) A minus value cannot be converted correctly.