Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 5 . The basic function performed by a computer is execution of a program. A program consists of set of instructions. These instructions are

Q5. The basic function performed by a computer is execution of a program. A program consists of set of instructions. These instructions are stored in memory in sequential order. The processor reads instructions from memory one at a time and executes them. Consider a hypothetical machine (representing modern computer) which consists of
Program Counter (PC): A register which contains the address of the memory where the next instruction that is to be executed. This register can store 8-bit address.
Register file: This contains three registers, R1, R2, and R3 each capable of storing 8-bit data.
Memory: 256 X8 bits.
Sample instructions are:
i)AND R1, R1, #0// Clears the register
ii)MUL R1, R2, R3// Multiplies the contents of R2 and R3 and stores the result in R1
Answer the following questions:
a) Draw the best hardware implementation for realizing the instruction AND R1, R1, #0
b) Consider the instruction MUL R1, R2, R3. What should be the maximum and minimum values of R2 and R3 to obtain correct output in R1.
c)Draw the best hardware implementation for realizing the instruction MUL R1, R2, R3
d)What is the addressability and address space of the given memory.
e) Draw the block diagram for implementing 256X8 bits memory. Show all necessary inputs, outputs and control signals.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Have I incorporated my research into my outline effectively?

Answered: 1 week ago