Mitsubishi Electronics E60 Video Game Controller User Manual


 
6. Explanation of Commands
- 38 -
(1) When a digit is designated on the source (S) side, the values that can be handled as source data
will be as shown below.
Table of digit designations and values that can be handled
For 16-bit command For 32-bit command
K1 (4 points) 0~15 0~15
K2 (8 points) 0~255 0~255
K3 (12 points) 0~4095 0~4095
K4 (16 points) -32768~32767 0~65535
K5 (20 points) 0~1048575
K6 (24 points) 0~167772165
K7 (28 points) 0~268435455
K8 (32 points) -2147483648~2147483647
Program example Process
For 16-bit command
MOV
K1X0 D0
Source (S) data
K1X0
D0 0 0
X1X0
X2X3
Becomes 0
X1X0
X2X3
B15
B4 B3 B2 B1 B0
0000000000
....................................................
For 32-bit command
DMOV
K1X0 D0
Source (S) data
K1X0
D0
D1
X1X0X2X3
000000 X1X0X2X3000000
00000000000000
0
0
B31
B15
Becomes 0
Becomes 0
B4 B3 B2 B1 B0
B16
....................................................
.........................................................................