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

1. A digital computer has a memory unit with 48 bits per word. The instruction set consists of 240 different operations. All instructions have an

1. A digital computer has a memory unit with 48 bits per word. The instruction set consists of 240 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory.

a) How many bits are needed for the opcode? b) How many bits are needed to specify the register? c) How many bits are left for the address part of the instruction? d) What is the maximum allowable size for memory? e) What is the largest unsigned binary number that can be accommodated in one word of memory?

2. Write a MARIE program using a loop that multiplies two non-negative numbers by using repeated addition. For example, to multiply 3 x 6, the program would add 3 six times (e.g. 3 + 3 + 3 + 3 + 3 + 3) or add 6 three times (e.g. 6+6+6). You should write and run the program using MARIE simulator. Also write the code with Address, Instruction, and Comments.

3. Consider an instruction Add 1000. Memory contents, Accumulator (AC), and R1 Register contents are depicted in the below figure: (such as memory address 1000 contains a value 1400, memory address 1100 contains a value 400 etc. All the numbers used here are decimals). [6 marks] Assuming R1 is implied in the indexed addressing mode, determine the actual value loaded into the accumulator (AC) using the following addressing modes: i) Immediate ii) Direct iii) Indirect iv) Indexed.

Step by Step Solution

3.39 Rating (161 Votes )

There are 3 Steps involved in it

Step: 1

Computer Organization 1 A 2 8 256 but it is larger than 240 so we take the next lower value which is ... 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

Document Format ( 2 attachments)

PDF file Icon
60987d46b2a26_28904.pdf

180 KBs PDF File

Word file Icon
60987d46b2a26_28904.docx

120 KBs Word File

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

Process Dynamics And Control

Authors: Dale E. Seborg, Thomas F. Edgar, Duncan A. Mellich

2nd Edition

471000779, 978-0471000778

More Books

Students explore these related Algorithms questions