Question: 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

1 Expert Approved Answer
Step: 1 Unlock

program ANSWER execution as peur figure 35 from textbook Inst... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Network Questions!