Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Consider a load-store type machine with the following specifications: 2 32 x bytes of memory 32-bit fixed format instructions 32 32-bit general purpose registers

1. Consider a load-store type machine with the following specifications:

  • 232 x bytes of memory
  • 32-bit fixed format instructions
  • 32 32-bit general purpose registers (GPR)
  • 3-address register-to-register arithmetic instructions
  • Single address mode for load/store: base + displacement
  • Capable of performing a total of 32 arithmetic operations

For simplicity assume that the machine only performs arithmetic operations plus data transfer operations (i.e. load and store).

  1. Write the equivalent machine level language corresponding to a C statement of C = A + B

b) Give an instruction format for the arithmetic operations. To do this draw a diagram of the instruction format with each field clearly specified.

For each field indicate its size, the reason for selected size, and a description of what purpose the field serves.

c) Give an instruction format for the load/store operations. To do this draw a diagram of the instruction format with each field clearly specified. For each field indicate its size, the reason for selected size, and a description of what purpose the field serves.

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

International Baccalaureate Computer Science HL And SL Option A Databases Part I Basic Concepts

Authors: H Sarah Shakibi PhD

1st Edition

1542457084, 978-1542457088

More Books

Students also viewed these Databases questions

Question

b. Where did they come from?

Answered: 1 week ago