Question: Question Write a Marie Program (Q3.mas): Get two integers A and B, then calculate/output the multiplication C = A*B using a subroutine based on the

Question

  • Write a Marie Program (Q3.mas): Get two integers A and B, then calculate/output the multiplication C = A*B using a subroutine based on the "JnS" instruction. A subroutine reads A and B and generates C.
  • Define the variables A, B, C (Specifically these names)
  • You need a loop.
  • Document and explain code (include comments)

Output:

Q3.mas

Q3.png Screenshot of the simulator after execution

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!