
63
0Ć000CONT SEARCH
0000
Find the address prior
to the insertion point
Insert the
instruction
Program After Insertion
Inserting an Instruction
0Ć000
0Ć000CONT SEARCH
0101
0Ć007CONT SEARCH
OUT 0101
0Ć006READ
AND NOT 0004
0Ć006
AND 0000
0Ć006
AND 0005
0Ć006INSERT?
AND 0005
0Ć007INSERT END
AND NOT 0004
0Ć006READ
AND 0005
Address
Instruction
Operands
000
LD
0000
001
AND
0001
002
LD
0001
003
AND NOT
0002
004
OR LD
-
005
AND
0003
006
AND
0005
007
AND NOT
0004
008
OUT
0101
009
END(01)
-
000
LD
0000
001
AND NOT
0001
002
LD
0001
003
AND NOT
0002
004
OR LD
-
005
AND
0003
006
AND
0005
007
OUT
0101
008
END(01)
-
Find the instruction
that requires deletion.
Confirm that this is the
instruction to be deleted.
Program After Deletion
Deleting an Instruction
0Ć007 DELETE?
AND NOT 0004
0Ć007DELETE END
OUT 0101
0Ć006READ
AND 0005
Address
Instruction
Operands
0Ć000CONT SEARCH
0000
0Ć000
0Ć000CONT SEARCH
0101
0Ć008CONT SEARCH
OUT 0101
0Ć007READ
AND NOT 0004
Inputting the Program
Section 3-5