Question: MARIE has 15 instructions, propose a 16th instruction that would significantly reduce the number of clock cycles (microoperations) needed for your program.here is the program

MARIE has 15 instructions, propose a 16th instruction that would significantly reduce the number of clock cycles (microoperations) needed for your program.here is the program please use MARIE simulator:

ORG 000 INPUT USER /Takes input from the user SUBT TWO /Subtracts 2 from it PRINT, STORE Z /Stores the AC Value in Z CLEAR /AC=0 /TOTAL = N1 + N2 ADD N1 /Adds N1 to AC ADD N2 /Adds N2 to AC STORE TOTAL /Store to TOTAL /N1 = N2 LOAD N2 /Load N2 to AC STORE N1 /Store to N1 /N2 = TOTAL LOAD TOTAL /Load TOTAL to AC STORE N2 /Store N2 to AC LOAD Z /Load Z to AC SUBT ONE /Subtracts 1 SKIPCOND 000 /Skip Cond 000 if AC<0 jump print>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!