Mitsubishi Electronics E60 Video Game Controller User Manual


 
LDBII, ANDBII, ORBII
- 189 -
Program example
(1) Program to test bit 3 of D10.
Coding
No. of
steps
Com-
mand
Device
10 LD<> D10 K3
12 OUT Y33
10
< >
K3D10
Y33
(LDBII)
13
(2) Program to test bit 15 of D10.
Coding
No. of
steps
Com-
mand
Device
10 LD M3
11 AND<> D10 K15
10
< >
K15D10
Y33
M3
(ANDBII)
13 OUT Y33
14
(3) Program to test bit 15 of D10.
Coding
No. of
steps
Com-
mand
Device
10 LD M3
11 LD<> D10 HF
13 OR M8
14 ANB
15 OUT Y33
< >
HFD10
Y33
M3
M8
10
(LDBII)
16
(4) Program to test bit 10 of D10.
Coding
No. of
steps
Com-
mand
Device
10 LD M3
11 AND M8
12 OR<> D10 K10
14 OUT Y33
10
K10D10
Y33
M3
M8
< >
(ORBII)
15