basic computer. (DRLD, DRINR, and DRCLR) Table 5-6 (Mano, pi59) R'TO AR - PC R'TI: IR - MEAR), PC - PC. 1 R'T2: DO, D1... D7 - Decode IR(12-14), Fetch Decode AR - IR(O-11), I - IR(15) AR - MEAR) Indirect D7'IT3: Menory Reference AND DR - M(ARIA AC <-AC DR - MTART AC - AC. PpR. E - Cout, sc - 0 DR - MEAR) AC - DR, Sc - 0 MCAR) - AC, sc - 0 PC - AR, SC - 0 MEAR) - PC, AR - AR. 1 PC <- AR, SC <-0 DR - MLAR) DR - DR +1 DOTS: DIT4: DITS: DN. SC <- 0 ADD LDA D3T4: STA BUN BSA D4T4: DST4: D6TS: ISZ DETE: DETS: DET6: MLART- DR, if (DR-0) then (PC - PC+ 1), Sc<-0 Register-reference: D7I'T3 -r (common to all register-reference instructions) IR(1) - Bi (1-0, 1, 2, . 11) r: SC - 0 r811: AC -0 CLA CLE rB10: E <- O CHA r89: AC - NOT (AC) rB8: E - NOT (E) rB7: AC - shr AC, AC(15) - E, E <- AC(O) rB6: AC <- shl AC, AC(0) - E, E <- AC(15) rB5: AC - AC+1 If (AC(15) 0) then (PC - PC . 1) CHE CIR CIL INC SPA rB4: SNA rB3: If (AC(15) 1) then (PC <- PC 1) r82: rB1: If (E- 0) then (PC - PC + 1) r80: S <- 0 SZA If (AC- 0) then (PC <- PC+ 1) SZE HLT Input-output : D7IT3 - P (common to all input-output instructions) IR(1) - B1 (1 - 6, 7, 8, 9, 10, 11) p: SC - 0 p811: AC(O-7) INPR, FGI - 0 p810: OUTR <- AC(0-7), FGO - 0 p89: p88: INP OUT SKI If (FGI - 1) then (PC <- PC• 1) If (FGO - 1) then (PC <- PC • 1) p87: pB6: SKO ION IEN <- 1 IOF IEN <- 0

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
1. Similar to the book, page 171, derive the control gates associated with the register DR in the
basic computer. (DRLD, DRINR, and DRCLR)
Table 5-6 (Mano, pi59)
Fetch
R'TO: AR - PC
IR - MLAR], PC <- PC + 1
DO, D1, ... D7 <- Decode IR(12-14),
AR <- IR(O-11), I <- IR(15)
AR <- MCAR]
R'T1:
Decode
R'T2:
Indirect
D7'IT3:
Menory Reference:
AND
sOT DR - M(ARIA
AC <- AC DR. SC <-0
DUTS:
DIT4:
DIT5:
ADD
DR - MEARTA
AC <- AC + DR. E <- Cout, SC <-0
DZT4: )
DR <- MLAR)
LDA
DZTS: AC <- DR, SC - o
MCAR) <- AC, sc <- 0
PC <- AR, SC <-0
STA
D3T4:
BUN
D4T4:
DST4:
M(AR) <- PC, AR <- AR+ 1
BSA
PC <- AR, SC<- 0
DET4: DR <- MLAR)
DSTS:
ISZ
DET5:
DR <- DR + 1
DET6: MLAR) - DR, if (DR-0) then (PC <- PC + 1), sc<-0
Register-reference:
D7I'T3 -r (common to all register-reference instructions)
IR(1) - Bi (1 - 0, 1, 2, ..., 11)
r: SC <- 0
rB11: AC (- 0
CLA
CLE
IB10: E <- 0
AC <- NOT (AC)
E - NOT (E)
AC <- ahr AC, AC(15) <- E, E <- AC(o)
CHA
rB9:
CME
rB8:
CIR
rB7:
AC <- mhl AC, AC(0) <- E, E <- AC(15)
AC <- AC + 1
CIL
rB6:
rB5:
rB4:
INC
If (AC(15) - 0) then (PC <- PC + 1)
If (AC(15)-1) then (PC <- PC + 1)
If (AC - 0) then (PC <- PC + 1)
If (E - 0) then (PC <- PC + 1)
S <- 0
SPA
SNA
rB3:
SZA
rB2:
SZE
rB1:
rB0:
HLT
Input-out put :
D7IT3 - P (common to all input -output instructi ons)
IR(1) - Bi (1- 6, 7, 8, 9, 10, 11)
p: SC <- 0
PB11: AC(0-7) <- INPR, FGI <- 0
PB10: OUTR <- AC(0-7), FGO <- 0
p89: If (FGI - 1) then (PC <- PC + 1)
If (FGO - 1) then (PC <- PC + 1)
INP
OUT
SKI
p8:
pB7: IEN <- 1
pB6:
SKO
ION
IOF
IEN <- 0
Transcribed Image Text:1. Similar to the book, page 171, derive the control gates associated with the register DR in the basic computer. (DRLD, DRINR, and DRCLR) Table 5-6 (Mano, pi59) Fetch R'TO: AR - PC IR - MLAR], PC <- PC + 1 DO, D1, ... D7 <- Decode IR(12-14), AR <- IR(O-11), I <- IR(15) AR <- MCAR] R'T1: Decode R'T2: Indirect D7'IT3: Menory Reference: AND sOT DR - M(ARIA AC <- AC DR. SC <-0 DUTS: DIT4: DIT5: ADD DR - MEARTA AC <- AC + DR. E <- Cout, SC <-0 DZT4: ) DR <- MLAR) LDA DZTS: AC <- DR, SC - o MCAR) <- AC, sc <- 0 PC <- AR, SC <-0 STA D3T4: BUN D4T4: DST4: M(AR) <- PC, AR <- AR+ 1 BSA PC <- AR, SC<- 0 DET4: DR <- MLAR) DSTS: ISZ DET5: DR <- DR + 1 DET6: MLAR) - DR, if (DR-0) then (PC <- PC + 1), sc<-0 Register-reference: D7I'T3 -r (common to all register-reference instructions) IR(1) - Bi (1 - 0, 1, 2, ..., 11) r: SC <- 0 rB11: AC (- 0 CLA CLE IB10: E <- 0 AC <- NOT (AC) E - NOT (E) AC <- ahr AC, AC(15) <- E, E <- AC(o) CHA rB9: CME rB8: CIR rB7: AC <- mhl AC, AC(0) <- E, E <- AC(15) AC <- AC + 1 CIL rB6: rB5: rB4: INC If (AC(15) - 0) then (PC <- PC + 1) If (AC(15)-1) then (PC <- PC + 1) If (AC - 0) then (PC <- PC + 1) If (E - 0) then (PC <- PC + 1) S <- 0 SPA SNA rB3: SZA rB2: SZE rB1: rB0: HLT Input-out put : D7IT3 - P (common to all input -output instructi ons) IR(1) - Bi (1- 6, 7, 8, 9, 10, 11) p: SC <- 0 PB11: AC(0-7) <- INPR, FGI <- 0 PB10: OUTR <- AC(0-7), FGO <- 0 p89: If (FGI - 1) then (PC <- PC + 1) If (FGO - 1) then (PC <- PC + 1) INP OUT SKI p8: pB7: IEN <- 1 pB6: SKO ION IOF IEN <- 0
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY