2. Translate the lines from ORG 12 to ORG 64 in Table 7.2 to binary.

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
2. Translate the lines from ORG 12 to ORG 64 in Table 7.2 to binary.
Microoperation
None
AC - AC + DR
AC+0
F3 Microoperation
None
AC + AC O DR
AC - AC
Symbel
NOP
ADD
CLRAC
INCAC
DRTAC
DRTAR
PCTAR
WRITE
Condition T Symbal
Always 1
DR(15)
AC(15)
AC0
000
001
F2
000
Microoperation
None
AC+ AC-DR
Symbol
NOP
Symbol
NOP
XOR
000
001
SUB
OR
AND
READ
ACTDR
INCDR
PCTDR
001
010
010
AC- AC V DR
AC- AC A DR
DR + MAR
DR + AC
DR+ DR +1
DR(0-10) + PC
010
COM
011
100
101
110
AC + AC +1
AC + DR
011
AC + shl AC
AC+ nhr AC
PC + PC +1
PC + AR
Reserved
SHL
100
100
101
110
111
SHR
AR + DR(O-10)
AR + PC
MJAR + DR
101
110
111
INCPC
ARTPC
111
Comments
Unconditional branch
Indirect address bit (conditional branch)
Sign bit of AC (conditional branch)
Zero value in AC (conditional branch)
CD
00
01
10
11
BR
00
Symbol Punction
JMP
CAR AD if condition T jump)
CAR CAR+1 condition 0
CAR + AD, SBR- CAR +1 if condition1 (subroutine call)
branch, save address
CAR+ CAR+1 if condition 0
CAR + SBR (return from subroutine)
CAR(2-5) - DR(11-14), CAR(0,1.6) - 0 (mapping)
01
CALL
10
RET
11
MAP
Table 1: From Mano's Architecture Book, table 7.1
Transcribed Image Text:2. Translate the lines from ORG 12 to ORG 64 in Table 7.2 to binary. Microoperation None AC - AC + DR AC+0 F3 Microoperation None AC + AC O DR AC - AC Symbel NOP ADD CLRAC INCAC DRTAC DRTAR PCTAR WRITE Condition T Symbal Always 1 DR(15) AC(15) AC0 000 001 F2 000 Microoperation None AC+ AC-DR Symbol NOP Symbol NOP XOR 000 001 SUB OR AND READ ACTDR INCDR PCTDR 001 010 010 AC- AC V DR AC- AC A DR DR + MAR DR + AC DR+ DR +1 DR(0-10) + PC 010 COM 011 100 101 110 AC + AC +1 AC + DR 011 AC + shl AC AC+ nhr AC PC + PC +1 PC + AR Reserved SHL 100 100 101 110 111 SHR AR + DR(O-10) AR + PC MJAR + DR 101 110 111 INCPC ARTPC 111 Comments Unconditional branch Indirect address bit (conditional branch) Sign bit of AC (conditional branch) Zero value in AC (conditional branch) CD 00 01 10 11 BR 00 Symbol Punction JMP CAR AD if condition T jump) CAR CAR+1 condition 0 CAR + AD, SBR- CAR +1 if condition1 (subroutine call) branch, save address CAR+ CAR+1 if condition 0 CAR + SBR (return from subroutine) CAR(2-5) - DR(11-14), CAR(0,1.6) - 0 (mapping) 01 CALL 10 RET 11 MAP Table 1: From Mano's Architecture Book, table 7.1
5UU
-UUU
CD
BR
AD
Mlcrooperations
ORG O
Label
dON
READ
INDRCT
NEXT
FETCH
JMP
ADD:
JMP
ADD
ORG 4
JMP
OVER
dON
NOP
BRANCH:
JMP
CALL
FETCH
INDRCT
NOP
OVER:
JMP
FETCH
ARTPC
ORG 8
NOP
ACTDR
INDRCT
STORE:
NEXT
РЕТCH
JMP
WRITE
JMP
ORG 12
NOP
READ
CALL
INDRCT
NEXT
NEXT
FETCH
EXCHANGE:
JMP
ACTDR, DRTAC
WRITE
ORG 64
PCTAR
READ, INCPC
DRTAR
JMP
JMP
FETCH:
NEXT
NEXT
JMP
JMP
MAP
JMP
RET
INDRCT:
READ
DRTAR
NEXT
Table 2: From Mano's Architecture Book, table 7.2
Remember that the instruction format is:
I (bit 15), opcode (bits 14..11), and address (bits 10.0).
Contrud unic
Figure 74 Computer hanbearc sreliga
Figure 1: From Mano's Architecture Book, fig. 74
2.
llmail.google.com/mail/u/0/#inbox?projector=D1
Transcribed Image Text:5UU -UUU CD BR AD Mlcrooperations ORG O Label dON READ INDRCT NEXT FETCH JMP ADD: JMP ADD ORG 4 JMP OVER dON NOP BRANCH: JMP CALL FETCH INDRCT NOP OVER: JMP FETCH ARTPC ORG 8 NOP ACTDR INDRCT STORE: NEXT РЕТCH JMP WRITE JMP ORG 12 NOP READ CALL INDRCT NEXT NEXT FETCH EXCHANGE: JMP ACTDR, DRTAC WRITE ORG 64 PCTAR READ, INCPC DRTAR JMP JMP FETCH: NEXT NEXT JMP JMP MAP JMP RET INDRCT: READ DRTAR NEXT Table 2: From Mano's Architecture Book, table 7.2 Remember that the instruction format is: I (bit 15), opcode (bits 14..11), and address (bits 10.0). Contrud unic Figure 74 Computer hanbearc sreliga Figure 1: From Mano's Architecture Book, fig. 74 2. llmail.google.com/mail/u/0/#inbox?projector=D1
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