- 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 48 times
7. Hand-compile the following MARIE code assuming the first instruction is at address 245 and that the variables, A, B,
-
- Posts: 43759
- Joined: Sat Aug 07, 2021 7:38 am
7. Hand-compile the following MARIE code assuming the first instruction is at address 245 and that the variables, A, B,
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