Let us consider a memory that includes two instructions. First instruction is located at memory address 045 that includes an address mode bit 0, an operation code 101, an address 160. The second instruction is located at the end of a subroutine that includes an address mode bit 1, an operation code 100, an address 160. The subroutine starts at memory location 161 and the content of the PC is equal to 046. a) Draw two block diagrams of the memory to represent the status of the above instructions before and after execution phase; b) State the relationship between two instructions mentioned. Hints: You can refer to Table 1. Table 1: Basic Computer Instructions Hexadecimal code Symbol I = 0 I = 1 Description AND Oxxx 8xxx AND memory word to AC

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
Please answer a
QUESTION 3
Let us consider a memory that includes two instructions. First instruction is located at memory
address 045 that includes an address mode bit 0, an operation code 101, an address 160. The
second instruction is located at the end of a subroutine that includes an address mode bit 1, an
operation code 100, an address 160. The subroutine starts at memory location 161 and the content
of the PC is equal to 046.
a) Draw two block diagrams of the memory to represent the status of the above instructions
before and after execution phase;
b) State the relationship between two instructions mentioned.
Hints: You can refer to Table 1.
Table 1: Basic Computer Instructions
Hexadecimal code
Symbol
I = 0
I = 1
Description
AND
AND memory word to AC
Add memory word to AC
Load memory word to AC
Store content of AC in memory
Branch unconditionally
Branch and save return address
Оххх
8xxx
ADD
1xxx
9xxx
Axxx
Вххх
Cxxx
Dxxx
LDA
2xxx
STA
BUN
3xxx
BSA
ISZ
4xxx
5xxx
бххх
Exxx
Increment and skip if zero
Clear AC
CLA
CLE
7800
7400
7200
7100
7080
7040
7020
7010
Clear E
Complement AC
Complement E
Circulate right AC and E
Circulate left AC and E
СМА
СМЕ
ČIR
CIL
Increment AC
Skip next instruction if AC positive
Skip next instruction if AC negative
Skip next instruction if AC zero
Skip next instruction if E is 0
Halt computer
INC
SPA
SNA
SZA
7008
7004
SZE
7002
HLT
7001
Input character to AC
Output character from AC
Skip on input flag
Skip on output flag
Interrupt on
Interrupt off
INP
F800
OUT
F400
SKI
F200
SKO
ION
F100
F080
IOF
F040
Transcribed Image Text:QUESTION 3 Let us consider a memory that includes two instructions. First instruction is located at memory address 045 that includes an address mode bit 0, an operation code 101, an address 160. The second instruction is located at the end of a subroutine that includes an address mode bit 1, an operation code 100, an address 160. The subroutine starts at memory location 161 and the content of the PC is equal to 046. a) Draw two block diagrams of the memory to represent the status of the above instructions before and after execution phase; b) State the relationship between two instructions mentioned. Hints: You can refer to Table 1. Table 1: Basic Computer Instructions Hexadecimal code Symbol I = 0 I = 1 Description AND AND memory word to AC Add memory word to AC Load memory word to AC Store content of AC in memory Branch unconditionally Branch and save return address Оххх 8xxx ADD 1xxx 9xxx Axxx Вххх Cxxx Dxxx LDA 2xxx STA BUN 3xxx BSA ISZ 4xxx 5xxx бххх Exxx Increment and skip if zero Clear AC CLA CLE 7800 7400 7200 7100 7080 7040 7020 7010 Clear E Complement AC Complement E Circulate right AC and E Circulate left AC and E СМА СМЕ ČIR CIL Increment AC Skip next instruction if AC positive Skip next instruction if AC negative Skip next instruction if AC zero Skip next instruction if E is 0 Halt computer INC SPA SNA SZA 7008 7004 SZE 7002 HLT 7001 Input character to AC Output character from AC Skip on input flag Skip on output flag Interrupt on Interrupt off INP F800 OUT F400 SKI F200 SKO ION F100 F080 IOF F040
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

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