Omron C20K Video Game Controller User Manual


 
Programming Instructions and Execution Times Appendix B
178
Name
Mnemonic
OperandsFunctionSymbol
DIFFERENTIATE
UP
DIFU(13)
DIFFERENTIATE
DOWN
DIFD(14)
DIFU(13)
DIFD(14)
B
B
DIFU turns ON the designated bit (B)
for one cycle on the rising edge of the
input signal; DIFD turns ON the bit for
one cycle on the trailing edge. The
maximum number of DIFU/DIFDs is
48.
B:
IR
HR
HIGH-SPEED
TIMER
TIMH(15)
TIMH(15) N
SV
A high-speed ON-delay (decrementing)
timer. SV: 0.02 to 99.99 s. Must not be
assigned the same TC bit as another
timer/counter. The TC bit is input as a
constant.
N:
TC
SV:
IR
HR
#
WORD SHIFT
WSFT(16)
WSFT(16)
St
E
Shifts data between the start and end
words in word units.
St/E:
IR
HR
DM
COMPARE
CMP(20)
CMP(20)
Cp1
Cp2
Compares two sets of four-digit hexa-
decimal data (Cp1 and Cp2) and out-
puts result to GR, EQ, and LE.
Cp1/Cp2:
IR
SR
HR
TC
DM
#
MOVE
MOV(21)
MOV(21)
S
D
Transfers source data (S) (word or
four-digit constant) to destination word
(D).
S:
IR
SR
HR
TC
DM
#
D:
IR
HR
DM
MOVE NOT
MVN(22)
MVN(22)
S
D
Inverts source data (S) (word or
four-digit constant) and then transfers it
to destination word(D).
S:
IR
SR
HR
TC
DM
#
D:
IR
HR
DM
BCD-TO-BINARY
BIN(23)
BIN(23)
S
R
Converts four-digit, BCD data in source
word (S) into 16-bit binary data, and
outputs converted data to result word
(R).
S R
x10
0
x10
1
x10
2
x10
3
x16
0
x16
1
x16
2
x16
3
(BCD) (BIN)
S:
IR
SR
HR
TC
DM
R:
IR
HR
DM
Refer to table at beginning of Appendix B for page references.