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, 22.06.2019 08:00
Aplan to budget time for studying and activities is referred to as a study routine. study habits. study skills. a study schedule.
Answers: 1
question
Computers and Technology, 23.06.2019 07:50
Apython programming question: assume s is a string of lower case characters. write a program that prints the number of times the string 'bob' occurs in s. for example, if s = 'azcbobobegghakl', then your program should print number of times bob occurs is: 2
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
Which of the following tasks is an audio technician most likely to perform while working on a nature documentary? (select all that apply). eliminating potentially distracting background noise adding sound effects making sure the lighting is adequate for a particular scene changing the narration to better match the mood of the documentary
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
How are stop motion special effects in animated films created
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
Chemistry, 22.02.2021 23:00
question
Mathematics, 22.02.2021 23:00
question
English, 22.02.2021 23:00
Questions on the website: 13722360