7-5
Section
Coding Right-hand Instructions
369
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
R
SFT(10)
HR 00
HR 00
Address
Instruction
Data
00000
LD
00000
00001
AND
00001
00002
LD
00002
00003
LD
00100
00004
AND NOT
00200
00005
LD
01001
00006
AND NOT
01002
00007
AND NOT
LR
0000
00008
OR LD
––
00009
AND
21600
00010
SFT(10)
HR
00
HR
00
00011
LD
HR
0015
00012
OUT NOT
01001
00100
00200
01001
01001 01002
LR 0000
21600
00002
HR 0015
00000
00001
Multiple Instruction Lines