Omron srm1(-v2) Video Game Controller User Manual


 
4-2SectionProgramming Console Operations
44
After completing the insertion and deletion procedures, use the Up and Down
Arrow Keys to scroll through the program and verify that it has been changed
correctly, as shown in the following diagram.
00104
00100 0010500101
00201
END(01)
00102
01000
Corrected Program
Address Instruction Operands
00205 AND 00105
00206 AND NOT 00104
00207 OUT 01000
00208 END(01) -
4-2-11 Entering or Editing Programs
This operation is used to enter or edit programs. It is possible in PROGRAM
mode only.
RUN MONITOR PROGRAM
No No OK
The same procedure is used to either input a program for the first time or to
change a program that already exists. In either case, the current contents of
Program Memory is overwritten.
The program shown in the following diagram will be entered to demonstrate
this operation.
00002
00200 LD IR 00002
00201 TIM 000
#0123
00202 MOV(21)
#0100
LR 10
00203 ADB(50)
#0100
#FFF6
DM 0000
MOV(21)
#0100
LR 10
TIM 000
#0123
12.3 s
ADB(50)
#0100
#FFF6
DM 0000
Address Instruction Operands
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
2. Specify the address where the program will begin.
3. Input the address where the program will begin and press the Down Arrow
Key. It is not necessary to input leading zeroes.
C
2
A
0
A
0
00200
4. Input the first instruction and operand.
LD
C
2
00200
LD 00002