![background image](http://html1.mh-extra.com/html/omron/cpm2a-11-2005/cpm2a-11-2005_manual_742517123.webp)
4-2
Section
Programming Console Operations
105
5. The search will continue until an END instruction or the end of Program
Memory is reached. In this case, an END instruction was reached at
address 397.
SRCH
00397SRCH
END (001)00.4KW
Indicates the address
of END instruction.
Indicates the amount used by the user
program in units of 0.1 Kwords.
4-2-11 Bit Operand Search
This operation is used to find occurrences of the specified operand bit in the pro-
gram and is possible in any mode.
RUN
MONITOR
PROGRAM
OK
OK
OK
The ON/OFF status of any displayed bit will be shown if the PC is in RUN or
MONITOR mode.
1, 2, 3...
1. Press the CLR Key to bring up the initial display.
2. Input the operand address. It is not necessary to input leading zeroes.
SHIFT
CONT
#
F
5
00000CONT SRCH
LD 00005
3. Press the SRCH Key to begin the search.
SRCH
00123CONT SRCH
LD 00005
4. Press the SRCH Key to search for the next occurrence of the operand bit.
SRCH
00255CONT SRCH
AND NOT 00005
5. The search will continue until an END instruction or the end of Program
Memory is reached. In this case, an END instruction was reached.
SRCH
00397CONT SRCH
END (001)00.4KW
Indicates the address
of END instruction.
Indicates the amount used by the user
program in units of 0.1 Kwords.
4-2-12 Inserting and Deleting Instructions
This operation is used to insert or delete instructions from the program. It is pos-
sible in PROGRAM mode only.
RUN
MONITOR
PROGRAM
No
No
OK
To demonstrate this operation, an IR 00105 NO condition will be inserted at
program address 00206 and an IR 00103 NO condition deleted from address
00205, as shown in the following diagram.