Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

1) Write the following MARIE assembly language equivalent of the following machine language instructions a) 0011 1000 1001 0111 b) 0110 0000 0000 0000 c)

1) Write the following MARIE assembly language equivalent of the following machine language instructions

a) 0011 1000 1001 0111

b) 0110 0000 0000 0000

c) 1000 0000 0000 0000

d) 0100 0001 0010 0011

2) List the hexadecimal code for the following program.

Hex Address Label Instruction Hexadecimal Code

100 - - - - - - - - - - - - - - - -Load A - - - - - - - - - - - - - -

101 - - - - - - - - - - - - - - - Add ONE - - - - - - - - - - - -

102 - - - - - - - - - - - - - - - Jump S1 - - - - - - - - - - - -

103 - - - - - S2 , - - - - - - Add ONE - - - - - - - - - - -

104 - - - - - - - - - - - - - - -Store A - - - - - - - - - - - - -

105 - - - - - - - - - - - - - - - Halt - - - - - - - - - - - - - - -

106 - - - - - S1 , - - - - - - Add A - - - - - - - - - - - - -

107 - - - - - - - - - - - - - - - Jump S2 - - - - - - - - - - -

108 - - - - - A , - - - - - - HEX 0020 - - - - - - - - -

109 - - - - - ONE , - - - - HEX 0001 - - - - - - - - - -

3) Suppose that a 8M X 16 main memory is built using 1M X 8 RAM chips and memory is word addressable.

a) How many RAM chips are necessary?

b) How many RAM chips are needed for each memory word? _______

c) How many address bits are needed for each RAM chip? _______

d) How many address bits are needed for all memory? _______

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_2

Step: 3

blur-text-image_3

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 explore these related Databases questions

Question

4. Who would lead the group?

Answered: 3 weeks ago