Mitsubishi Electronics E60 Video Game Controller User Manual


 
6. Explanation of Commands
- 36 -
6.2.3 END Command
With the END command, both the circuit mode and the list mode are automatically created, so
programming is not necessary.
6.2.4 Index Ornament
(1) The index ornament is used to add an index (Z0, Z1) to a device, add the details of the directly
designated device No. and index register, and designate the device No.
(2) The index (Z0, Z1) can be set between -32768 to 32767 with a sign added.
(3) The index ornament is used only for the MOV command. (It cannot be used for DMOV.)
(4) The usable command format is shown below.
(a) Transmission of data to Z0, Z1
MOV Kn Z0
MOV
Use Kn or Hn
Z0 or Z1
(b) Possible device combinations of MOV command with index ornament
S (source) D (destination) Program example
Constant
Kn or Hn
(Word device) Z
Example) D0Z0, R500Z1
MOV K100 D0Z0
Word device
Example) D0, R1900
(Word device) Z
Example) D0Z0, R500Z1
MOV D0 D100Z1
MOV
(Word device) Z
Example) D0Z0
(Word device) Z
Example) D1Z0, D0Z1
MOV D0Z0 D20Z0
(Word device) Z
Example) D0Z0
Bit designation
Example) K2Y20
MOV D0Z0 K2M10
Bit designation
Example) K2M00
(Word device) Z
Example) D0Z0,
R1900Z1
MOV K2M10 D0Z0
(Note 1) The word device refers to T, C, D and R.
(Note 2) The display of the circuit with index ornament is as shown below.
MOV D0
D20
Z0
Z1