Download Print this page

IBM 2030 Manual Of Instruction page 197

Processing unit, field engineering

Advertisement

4.
The ROS branches are indicated on
the
R line.
5.
The symbol.! may be a
add
or a
add.
6.
The operation that is executed by
question 5 is shown on the arithmet-
ic line and is further controlled by
the statement on the __________ _
line.
7.
-> means
8.
The symbol for the exclusive OR
function is
9.
Each ROS word is executed in a
ROS cycle.
10.
statement(s) can be
executed during one cycle.
MICRO-PROGRAM EXAMPLES
BINARY ADD
You have seen the many parts that, put
together, make up the micro-program.
To
tie these pieces together, lets·s work
our way through a micro program for a
fixed point binary add.
R R
RX
FIXED
FLT. PT.
FIXED
FLT, PT,
BITS
3,
~
0123
4567
0000
0001
0010
0011
0100
OJOT
0110
0111
0 0000
Load
Load
Load
Half
Positive
Positive
Positive
Store
Ste ..
Store D
Store S
Load
Load
Load
Load
I 0001
Negative
Negative
Negative
Address
Load &
load &
load &
Store
2 0010
Test
Test
Test
Char.
Load
Load
Load
Insert
3
0011
Complement
Complement Complement
Char.
Set Prog
4
0100
Ma,k
AND
Halve
Halve
Execute
AND
Bronch&
Compare
Branch
&
Compare
5
0101
link
Logical
link
Logicql
Branch on
Branch on
6
0110
Count
OR
Count
OR
Branch on
Branch on
7
0111
ea,d
XOR
Cond
XOR
Half
B
1000
Set Tag
Lead
Load
Lead
Load
Lead
Load D
Load S
I"",,,
Half
9 1001
Tag
Compare
Compare
Compare
Compare
Compare
Compare
Compare
Monitor
Half
A 1010
Call
Add
Add N D
Add N S
Add
Add
Add N D
Add N S
Half
B
1011
Subtract
Sub N D
Sub N S
S,b
S,b
Sub N D
Sub N S
Half
C 1100
Multiply
Mutt D
MuitS
Multiply
Mult
Mult D
MuttS
D 1101
Divide
Divide D
Divide S
Divide
Divide 0
Divide S
Convert
Add
E
1110
Add
Add U D
Add U S
to
Dec
logical
Add U D
Add U S
Subtract
Convert
Subtract
F
1111
logical
S'" U D
Sub U S
to Bin
logical
Sub U D
Sub U S
Figure 3-22.
Op Codes
The instruction for a binary add is
written in RR format.
Figure 3-22 shows
the Op code for Fixed-Point Binary Add
to be 1A in hexadecimal.
RR format, if
you will remember, is two bytes in
length.
The first byte is the Op code.
The second byte of the instruction con-
sists of two general purpose register
addresses in hexadecimal.
In the example you will be working
through, assume that the data in general
purpose register 5 must be added to the
data in general purpose register 7.
The
instruction to accomplish this becomes
1
A
1
5
0001 1010 0111 0101.
The first byte is the Op code lA.
The
last byte represents the addresses of
the two registers.
Let·s briefly review the addressing
of a general purpose register.
A reg-
ister contains four bytes of data.
Since only one byte of data is addressa-
ble at a time, the N-register address
RS
INV
SS
HIOPS
LO OPS
A
C
1000
1001
1010
1011
1100
1101
1110
1111
Set Sys
SteM
Mask
Multiple
Test
Move
Move With
Under
Mask
Numeric
Offset
Load
Move
PSW
Cnar.
Move
Pack
Move
Diagnose
Zone
Unpack
Present
AND
AND
Compare
Compare
Accept
Logical
Logical
Branch
X HI
OR
OR
Branch
X LO-EQ
XOR
XOR
Shift
Load
Zero and
RT S L
Multiple
Add
Shift
Left S L
Compare
Shift
RT S A
Add
Shift
Left
SA
Subtract
Shift
Start
RT D L
1-0
Translate
Multiply
Shift
T."
Translate
Left D L
1-0
and Test
Divide
Shift
Halt
RT D A
1-0
Edit
Shift
Test
Edit and
Left DA
Channel
Marl<
3-23

Advertisement

loading

This manual is also suitable for:

System/360 30