Omron C20K Video Game Controller User Manual


 
171
Appendix B
Programming Instructions and Execution Times
Function code Name Mnemonic Page
- LOAD LD 73
- LOAD NOT LD NOT 73
- AND AND 73
- AND NOT AND NOT 73
- OR OR 73
- OR NOT OR NOT 73
- AND LOAD AND LD 74
- OR LOAD OR LD 74
- OUTPUT OUT 75
- OUTPUT NOT OUT NOT 75
- TIMER TIM 83
- COUNTER CNT 90
00 NO OPERATION NOP 81
01 END END 81
02 INTERLOCK IL 78
03 INTERLOCK CLEAR ILC 78
04 JUMP JMP 80
05 JUMP END JME 80
08 STEP DEFINE STEP 128
09 STEP START SNXT 128
10 SHIFT REGISTER SFT 106
11 KEEP KEEP 77
12 REVERSIBLE COUNTER CNTR 93
13 DIFFERENTIATE UP DIFU 75
14 DIFFERENTIATE DOWN DIFD 75
15 HIGH-SPEED TIMER TIMH 86
16 WORD SHIFT WSFT 110
20 COMPARE CMP 112
21 MOVE MOV 111
22 MOVE NOT MVN 112
23 BCD-TO-BINARY BIN 115
24 BINARY-TO-BCD BCD 115
30 BCD ADD ADD 120
31 BCD SUBTRACT SUB 122
32 BCD MULTIPLY MUL 123
33 BCD DIVIDE DIV 124
40 SET CARRY STC 125
41 CLEAR CARRY CLC 125
60 REVERSIBLE DRUM COUNTER RDM 103