Extension of Assembler and Simulator for the MULT instruction The original MARIE used only 15 instructions. Now we would like to add a new multiplication instruction. Opcode number: 15 (0x1111)...


Extension of Assembler and Simulator for the MULT instruction



The original MARIE used only 15 instructions. Now we would like to add a new multiplication instruction.



Opcode number: 15 (0x1111)


Instruction: MULT X


RTN



MAR <->


MBR <->


AC <- ac="" *="">



Here X is a memory parameter based on direct addressing.



Extend Assembler.java to support MULT instructions.


Extend MarieSim.java to support MULT instructions.



Test code:



Load X


MULT Y


Output.



Jun 01, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here