subject

Question 1: Working with MARIE (12 Marks) a) Given the below pseudocode, write the proper code that
implements it using MARIE's assembly language:

Input a number and store it in X;

while X < 10 do

X = X + 1;

Output the value of X;

endwhile;

N. B: You should include the MARIE code in your Answer, with an

explanation of each instruction in your code beside it.

Example:

Add One /Add 1 to AC

b) Add a screenshot of the simulation, showing the result (A screenshot of

the MARIE Simulator window after running the program).

Instructions:

- Use “ORG” instruction to start your program at address 300.
- Use your last university ID number to input the new value of X.
For example, if your ID is1915161678235, then you will use the
number 5 as the value of x.
- Do not forget to change the representation of the Input and
Output windows in the simulator to Decimal.
- The following labels and directives should be included at the end
of your program:

X, Dec 0

One, DEC 1

Ten, DEC 10

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:30
Which tab is used to change the theme of a photo album slide show? a. design b. view c. transitions d. home
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
How can a user delete a drawing object
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
You have been supporting csm tech publishing's windows server 2016 server network for over a year. the office has two windows server 2016 servers running active directory and a number of other roles. management has informed you that a small sales office is opening in the same building three floors up. the sales manager wants to install a sales application on a server located in the sales office. this server will have limited physical security because there's no special room dedicated for it, which means it will be accessible to non-it personnel and visitors. you're considering installing windows server 2016 server core on the new server because accessing its console regularly probably won't be necessary, and this server will be managed from one of the other csm tech publishing servers. what are the benefits and drawbacks of using server core for this branch office? what are some things you should do to set up this server management environment?
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
What are the 12 colors of the spectrum called?
Answers: 1
You know the right answer?
Question 1: Working with MARIE (12 Marks) a) Given the below pseudocode, write the proper code that...
Questions
question
Mathematics, 08.02.2022 06:40
Questions on the website: 13722361