Order Code (From Wolverhampton's short WITCH manual)

Arithmetic Instructions

 
Op Code
Address A
Address B
Function
 
1 digit
2 digits
2 digits
 
 
1
sending
receiving
ADD sending store to receiving store
 
2
sending
receiving
ADD sending store to receiving store and CLEAR sending store
 
3
sending
receiving
SUBTRACT sending store from receving store
 
4
sending
receiving
SUBTRACT sending store from receving store and CLEAR sending store
 
5
multiplicand
multiplier
MULTIPLY multiplicand by multiplier Multiplier is cler in process. Product appears in Acc 09
 
6
divisor / denomiator
quotient
DIVIDE divisor into Acc 09. After division the quotient appears in address B. A remainder is left in 09. Address B must be clear before starting division.
 
7
sending
receiving
TRANSFER POSITIVE MODULUS of sending store to receiving store.

 

Control Instructions

 
Op Code
Address A
Address B
Function
 
1 digit
2 digits
2 digits
 
 
0
11
test store
Is test store POSITIVE?
 
0
12
test store
Is test store NEGATIVE?
 
0
21
new control
TRANSFER to new control
 
0
22
new control
TRANSFER to new control IF a YES is stored on control. READ next order IF a NO is stored on control.
 
0
3X
YY
SEARCH for block number X on tape reader YY
 
0
5X
YY
SEARCH for block number X on tape reader YY IF a YES stored. READ next order IF a NO stored on control.
 
0
73
00
PRINT LAYOUT REFERENCE 1 Get ready to print one store and three places
 
0
74
00
PRINT LAYOUT REFERENCE 2 After the next print order, start a new line
 
0
01
00
FINISH.