Question: Modify the following MARIE assembly code to find the maximum value of the numbers given in the array whose starting address is given in addr
LOAD Addr STORE Next LOAD Num SUBT One STORE Ctr 10E I SKIPCOND 00o JUMP Loop HALT 2 101 I 102 1 110 I 111 IAddrHEx 117 112 I Next HEX O 113 INum DEC 5 114 I Sum DEC o 115 ICtr HEX O 116 IOne DEC 1 105 1 Loop LOAD Sum ADDI Next STORE Sum LOAD Next ADD One STORE Next LOAD Ctr SUBT One STORE Ctr 118 I 119 I 11A I 11B I 10CI 1OD
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
