Page 1 of 1

7. Hand-compile the following MARIE code assuming the first instruction is at address 245 and that the variables, A, B,

Posted: Fri Jun 10, 2022 4:07 pm
by correctanswer
7 Hand Compile The Following Marie Code Assuming The First Instruction Is At Address 245 And That The Variables A B 1
7 Hand Compile The Following Marie Code Assuming The First Instruction Is At Address 245 And That The Variables A B 1 (37.68 KiB) Viewed 50 times
7. Hand-compile the following MARIE code assuming the first instruction is at address 245 and that the variables, A, B, C, One, are stored, in this order, immediately after the Halt. Remember that all addresses are in hexadecimal, not decimal. Input Store A Clear Store B Top: Load A Subt B Skipcond 10 Jump Done Load с Add A Store C Input Store A Load B Add One Store B Jump Top Done: Load C Output Halt