Download Wang 700 A/B

Transcript
Section 1/
Explanation of Keys
~
-.....
DIRECT,
The -: DIRECT key is a handy command which allows the operator to exchange
a number in the X-Register with a number in any of the storage registers. The command
simply swaps the values of the X-Register and the internal register. Again the sequence of
steps to follow is -: DIRECT followed by the desired register.
EXAMPLE:
Suppose 27.8 is in the X-Register and 1f2 is
in Register 14. To store 27.8 in Register 14 and
reca1l1f 2 to the X-Register in one operation:
Index ~ DIRECT 14
What happens if the same operation is performed again?
ADD, SUBTRACT, MULTIPLY, AND DIVIDE DIRECT (The X and V Registers Remain Unchanged.)
In addition to storing a l2-digit mantissa and a 2-digit exponent, the registers can be
lIsed as accumulators to add, subtract, multiply and divide. With each of these operations
t he result is stored in the designated register and the X-Register and Y-Register remain
ullchanged.
The four arithmetic operations are'•
+DIRECT
-DIRECT
XDIRECT
-:-DIRECT
Adds number in X-REGISTER to value stored in register designated by
next keystroke. The X and Y Registers remain unchanged.
Subtracts number In X-REGISTER from value stored In register designated
by next keystroke. The X and Y Registers remain unchanged.
Multiplies number in X-REGISTER by value stored in register designated
by next keystroke. The X and Y Registers remain unchanged.
Divides number in X-REGISTER into number stored in register designated
by next keystroke. The X and Y Registers remain unchanged.
A simple example will illustrate how each of these commands works.
EXAMPLE:
Perform the following in Register 001
(13 x2) + 4
-3=7
3
1 3 STORE DIRECT 01
1.
--
2.
2
X
DIRECT
01
-
3.
4 + DIRECT 01
-
Places 13 in Register 01
and the X-Register
This sequence of steps
places the product equal
to 26 in Register Oland
2 remains unchanged in the X-Register.
Adds 4 to the Answer.
30 is now in Register 01,
4 is in X-Register.
2-13