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 23:00
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
question
Computers and Technology, 24.06.2019 12:00
Jack is assisting his younger sibling mary with her mathematics assignment, which includes a study of the number system. jack explains to mary that whole numbers are counting numbers that could be used to record the number of fruits in a basket. which data type represents whole numbers? a.integers.b.floating-point numbers. c.strings.d.boolean
Answers: 1
question
Computers and Technology, 24.06.2019 17:30
When you type january in a cell, then copy it using the fill handle to the cells below and the data automatically changes to february, march, april, and so on, what is this feature called? auto fill automaticcopy monthfill textfill
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
Is a type of bullying that takes place when a person intentionally posts negative information about another that is not true
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
Biology, 15.02.2021 06:20
question
Social Studies, 15.02.2021 06:20
question
Chemistry, 15.02.2021 06:20
question
Mathematics, 15.02.2021 06:20