Omron C60K Video Game Controller User Manual


 
111
When the execution condition is OFF, WSFT(16) is not executed and the
next instruction is moved to. When the execution condition is ON, 0000 is
moved into St, the content of St is moved to St + 1, the content of St + 1 is
moved to St + 2, etc., and the content of E is lost.
F0C234521029
E St + 1 St
345210290000
E St + 1 St
Lost
0000
Flags ER: St and E are not in the same data area.
Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
5-13 Data Movement
This section describes the instructions used for moving data between differ-
ent addresses in data areas. These movements can be programmed within
the same data area or between different data areas. Data movement is es-
sential for utilizing all of the data areas of the PC. All of these instructions
change only the content of the words to which data is being moved, i.e., the
content of source words is the same before and after execution of any of the
move instructions.
5-13-1 MOVE – MOV(21)
S : Source word
IR, SR, DM, HR, TC, #
D : Destination word
IR, DM, HR
Ladder Symbol Operand Data Areas
MOV(21)
S
D
When the execution condition is OFF, MOV(21) is not executed and the next
instruction is moved to. When the execution condition is ON, MOV(21) trans-
fers the content of S (specified word or four-digit hexadecimal constant) to D.
Source word Destination word
Bit status
not changed.
TC numbers cannot be designated as D to change the PV of the timer or
counter.
EQ: ON when all zeros are transferred to D.
Description
Description
Precautions
Flags
Data Movement Section 5-13