Question: Write the MARIE program that prints the first two letters of your name on the screen (50 Points). Q2-Shifting the value Write a program

Write the MARIE program that prints the first two letters of your

 

Write the MARIE program that prints the first two letters of your name on the screen (50 Points). Q2-Shifting the value Write a program with MARIA that allows the user to enter integers X and Y, showing the result of shifting X number to the left by Y bits. (50 Points). Hint: Shifting left once is equivalent to value multiplying by two. In MARIE, you can do this by successive addition. You know that the division and shift commands are not available in MARIE.

Step by Step Solution

3.41 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

here are the MARIE assembly programs for both tasks Printing the first two letters of your name ORG ... View full answer

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 Programming Questions!