تم الحل ✓
categoryهندسة حاسوب وشبكات
schoolبكالوريوس
event_available2026-07-13
السؤال
Transcribed Image Text:
3.
(a)
Given the datapath and control encoding given in Fig. 10-11 and Table 10-5 of the textbook,
determine the control words for microoperations given in the table below. Write down the
corresponding control word in each row. Note that copies of Fig. 10-11 and Table 10-5 are given.
Microoperations
DA
AA
BA
MB
FS
MD
RW
(a) R2R6+1
(b) R1 R5+ Constant in
(c) R4 sl RI
(d) R6 Data in
(e) R3 R2 R7
(b)
For each microoperation, write down the value of destination register (in binary) after the
microoperation is executed. Assume that registers are 8-bit and before the execution of control
word, they contain the value of their number (e.g. R5 contains 0000 0101). Assume that Constant
in and Data in values are 9 and 4 respectively. Also, assume that the microoperations are executed
in sequence, i.e. (a) first, then (b) and so on, (e) is executed last.
cation, Inc.
arles R. Kime
RW
DA
13
in.
N
z
Write
1 data
Daddress
Addre
Register file
Constant in
13 ackdress
ПА
A daba
il data
MB-
10
MUX D
Bus A
Address onl
15 15
MDI
Function
unit
0
MUX D
(a) Block Diag
15 14 13 12 11 10 9 8 7 "
DA
ሌለ
+
210
НА
M
MR
FS
13
DW
(by Camrol word
Figure 10-11
Data
TABLE 10-5
Encoding of Control Word for the Datapath
DA, AA, BA
MB
Function Code Function Code Function
FS
MD
RW
Code Function Code Function Code
RO
000
Register 0
FA
0000
Function 0
No write (
R1
001
Constant I
F+A+1
0001
Data In I
Write
1
R2
010
FA+B
0010
R3
011
FA+B+1 0011
R4
100
FA+B
0100
R5
101
FA+B+1 0101
R6
110
F-A-1
0110
R7
111
F+A
0111
FAB
1000
FAVB
1001
F-A B
1010
FA
1011
F-B
1100
F-sr B
1101
Fs B
1110
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.