GE 235 System Manual page 39

Table of Contents

Advertisement

OPTIONAL DECIMAL ARITHMETIC
Mnemonic
Operand
Index
Time
Oper. Code
Address
Word
Microsec.
-
Description
SET
BINMODE
12
SET BINARY MODE, permitting arithmetic instruc-
tions to operate in the binary mode a s detailed above.
(When power is turned on, the computer will be set
automatically in the binary mode.)
SET
ADD
DAD
ADO
SUB
DSU
SBO
DECMODE
Y
Y
12
SET DECIMAL MODE, permitting arithmetic instruc-
tions to operate in the decimal mode a s detailed below.
X
12
DECIMAL ADD the contents of Y and register A
algebraically; sum in A.
X
18
DOUBLE DECIMAL ADD the contents of Y and
Y+l
and registers A and Q algebraically; sum in A and Q.
18
ADD ONE DECIMAL (plus one) algebraically to the
contents of register A.
X
18
DECIMAL SUBTRACT the contents of Y algebraically
from the contents of register A.
X
30
DOUBLE DECIMAL SUBTRACT the contents of Y
and
Y+l
algebraically from the contents of registers
A and Q; result in A and Q.
18
SUBTRACT ONE DECIMAL algebraically from the
contents of register A.
Shift
The shift instructions shift the contents of register A to the right o r left serially either alone o r
with the contents of the N and/or Q registers. Twelve microseconds a r e required for a shift of
two bit positions o r less; six additional microseconds a r e required for each additional 3-bit shift
o r fraction thereof.
Mnemonic
Operand
Index
T i m
Oper. Code
Address
Word
Microsec.
-
SRA
SRD
SLA
Description
K
X
12+
SHIFT RIGHT A.
The contents of register A a r e
shifted right K places.
K
X
12+
SHIFT RIGHT DOUBLE. The contents of registers A
and Q together a r e shifted right
K
places, with bits
shifting out of A into Q.
K
X
12+
SHIFT LEFT A.
The contents of register A a r e
shifted left K places.

Advertisement

Table of Contents
loading

Table of Contents