Mitsubishi Electronics E60 Video Game Controller User Manual


 
LD, LDI
- 43 -
Program example
(1) Program used at head of circuit block.
Coding
No. of
steps
Com-
mand
Device
10 LD M32
11 OUT Y10
12 LDI M32
13 OUT Y11
M32
Y11
M32
Y10
10
12
14
(2) Program used at head of circuit block connected with ANB.
Coding
No. of
steps
Com-
mand
Device
99 LD X0
100 LD M9
101 AND M13
102 ORI M35
103 ANB
104 OUT Y99
M9
X0
Y99
99
M35
M13
ANB
Circuit block
connected with ANB.
105
(3) Program used at head of circuit block connected with ORB.
Coding
No. of
steps
Com-
mand
Device
93 LD X8
94 AND M1
95 LD X12
96 ANI M60
97 ORB
98 OUT M99
M99
93
M1
ORB
X8
X12 M60
Circuit block
connected with ORB.
99