b) Consider a hypothetical microprocessor having instructions composed of two fields: the first 4-bit contains the opcode and the remaining 12-bit contains the operand address. Given the content of...


b)<br>Consider a hypothetical microprocessor having instructions composed of two fields: the first<br>4-bit contains the opcode and the remaining 12-bit contains the operand address. Given the<br>content of memory listed as follows:-<br>Program Counter: 250<br>Value stored in memory location 160: 246016<br>Value stored in memory location 162:00AA16<br>Value stored in memory location 250: 1160 (Load)<br>Value stored in memory location 252: 2162 (Add)<br>Value stored in memory location 254: 3160 (Subtract)<br>Value stored in memory location 256: 5162 (Store)<br>Show and examine the changes of the contents for Instruction Registers (IR), Program<br>Counter (PC), Memory Address Register (MAR), Memory Data Register (MDR) and<br>Accumulator (A) respectively during the execution of the following instructions:-<br>(i)<br>Instruction at memory location 252 (First Instruction: Add)<br>(ii)<br>Instruction at memory location 254 (Second instruction: Subtract)<br>(iii)<br>Instruction at memory location 256 (Third instruction: Store)<br>

Extracted text: b) Consider a hypothetical microprocessor having instructions composed of two fields: the first 4-bit contains the opcode and the remaining 12-bit contains the operand address. Given the content of memory listed as follows:- Program Counter: 250 Value stored in memory location 160: 246016 Value stored in memory location 162:00AA16 Value stored in memory location 250: 1160 (Load) Value stored in memory location 252: 2162 (Add) Value stored in memory location 254: 3160 (Subtract) Value stored in memory location 256: 5162 (Store) Show and examine the changes of the contents for Instruction Registers (IR), Program Counter (PC), Memory Address Register (MAR), Memory Data Register (MDR) and Accumulator (A) respectively during the execution of the following instructions:- (i) Instruction at memory location 252 (First Instruction: Add) (ii) Instruction at memory location 254 (Second instruction: Subtract) (iii) Instruction at memory location 256 (Third instruction: Store)

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here