Mitsubishi Electronics E60 Video Game Controller User Manual


 
6. Explanation of Commands
- 28 -
(2) Arithmetic operation commands
Class
Process
unit
Command
sign
Symbol
Process details
No.
of
steps
Page
16-bit
+
S1 S2 D
+
(S1) + (S2) (D)
4 86
+
32-bit
D+
S1 S2 D
D+
(S1+1, S1) + (S2+1, S2) (D+1, D)
4~5 88
16-bit
-
S1 S2 D
-
(S1) – (S2) (D)
4 90
32-bit
D-
S1 S2 D
D-
(S1+1, S1) – (S2+1, S2) (D+1, D)
4~5 92
16-bit
*
S1 S2 D
*
(S1) x (S2) (D+1, D)
4 94
*
32-bit
D*
S1 S2 D
D*
(S1+1, S1) x (S2+1, S2)
(D+3, D+2, D+1, D)
5~6 96
16-bit
/
S1 S2 D
/
(S1)
=
.
.
(S2) (D)
Quotient (D) Remainder (D+1)
5 98
/
32-bit
D/
S1 S2 D
D/
(S1+1, S1)
=
.
.
(S2+1, S2)
Quotient (D+1,D) Remainder (D+3, D+2)
5~6 100
16-bit
INC
INC
D
(D) + 1 (D)
2 102
+1
32-bit
DINC
DINC
D
(D+1, D) + 1 (D + 1, D)
2 104
16-bit
DEC
DEC
D
(D) – 1 (D)
2 106
–1
32-bit
DDEC
DDEC
D
(D + 1, D) – 1 (D + 1, D)
2 108
(3) BCD BIN conversion commands
Class
Process
unit
Command
sign
Symbol
Process details
No.
of
step
Page
16-bit
BCD
BCD
SD
BCD conversion
(S) (D)
BIN (0 to 9999)
3 110
BCD
32-bit
DBCD
DBCD
SD
BCD conversion
(S1+1,S1) (D+1,D)
BIN (0 to 99999999)
4 112
16-bit
BIN
BIN
SD
BIN conversion
(S) (D)
BIN (0 to 9999)
3 114
BIN
32-bit
DBIN
DBIN
SD
BIN conversion
(S1+1,S1) (D+1,D)
BIN (0 to 99999999)
4 116