Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the following defined hypothetical machine architecture, which is the same as from our textbook, but with some additional opcodes. Opcode (binary) Mnemonic Description 0001

Use the following defined hypothetical machine architecture, which is the same as from our textbook, but with some additional opcodes.

Opcode (binary)MnemonicDescription
0001LOADLoad AC from memory (memory -> AC)
0010STORStore AC to memory (AC -> memory)
0011MULMultiply AC and memory (AC * memory -> AC)
0100SUBSubtract memory from AC (AC - memory -> AC)
0101ADDAdd to AC from memory (AC + memory -> AC)
0110JMPJump to address (absolute jump)

Don't forget that our hypothetical machine uses 16 bit words, and the following are the instruction format and integer format of the machine.

Hypothetical Machine Format

The integer format uses a simple signed-magnitude format, with a single sign bit that indicates a positive or negative integer integer value.

Given the following initial state of memory, show the first 8 fetch/execute cycles of this hypothetical machine. ?All values in the registers and memory should be given as hexadecimal values. ?You should show the state of memory and registers for both the fetch and execute steps of the first 4 cycles of the hypothetical machine execution.

AddressMemoryCPU registers
30029400300PC
3013941800BAC
3022941IR
3036400
9400100
9418001

0 0 Opcode 1 34 Address (a) Instruction format Magnitude (b) Integer format 15 15

Step by Step Solution

3.50 Rating (150 Votes )

There are 3 Steps involved in it

Step: 1

program ANSWER execution as peur figure 35 from textbook Inst... 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

Computer Networking A Top-Down Approach

Authors: James F. Kurose, Keith W. Ross

5th edition

136079679, 978-0136079675

More Books

Students also viewed these Computer Network questions

Question

explain the negativity bias;

Answered: 1 week ago

Question

What are the Foreign Exchange markets contributions to society?

Answered: 1 week ago