Coding Right-hand Instructions
Multiple Instruction Lines
00000
00001
00002
00100
00200
01001 01002
LR 0000
HR 0015
If a right-hand instruction requires multiple instruction lines (such as KEEP(11)),
all of the lines for the instruction are entered before the right-hand instruction.
Each of the lines for the instruction is coded, starting with LD or LD NOT, to form
'logic blocks' that are combined by the right-hand instruction. An example of this
for SFT(10) is shown below.
I
P
21600
R
Address Instruction
00000
SFT(10)
00001
HR 00
00002
HR 00
00003
00004
00005
01001
00006
00007
00008
00009
00010
00011
00012
Section
7-5
Data
LD
00000
AND
00001
LD
00002
LD
00100
AND NOT
00200
LD
01001
AND NOT
01002
AND NOT
LR
0000
OR LD
––
AND
21600
SFT(10)
HR
00
HR
00
LD
HR
0015
OUT NOT
01001
369
Need help?
Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?