Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 . A typical machine has 3 2 - bit IR and a total of 1 2 8 different instructions. Show the instruction format

Question 1.
A typical machine has 32-bit IR and a total of 128 different instructions. Show the instruction format for such a machine if it has one memory address. How many memory locations can this machine access?
Question 2.
Assume a machine that has instructions of length 16 bits. An instruction has 6 bit operation code and 10 bit memory address, assume that the machine has the following instructions, Load AC from memory Store AC to memory Add contents of memory to AC, and save it into AC Assuming a memory that has 16-bit locations,
A. Assign an operation code for each instruction.
B. Write a program (sequence of instructions) that adds the contents of Memory location 151h to the contents of Memory location 150h and stores the result in location 152h. If the program starts at location 100h, show the contents of the locations that carry the program.
C. Show the contents of IR, PC, AC, and Memory locations 150h,151h, and 152h during execution (after each fetch cycle and each execute cycle). Initially, Location 150h has the value 2Bh and Location 151h has the value A1h.
Question 3.
For the machine described in question 2, assume a memory that has 8-bit locations and a data bus of 16 bits (two locations can be transferred to the CPU at a time).
a) How many memory locations the memory could have?
b) Repeat part (c) in question 2.

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

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions