Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 1 5 points ) . Using the Marie Simulator found on the web site, you will create a small assembly language Marie program. The

(15 points). Using the Marie Simulator found on the web site, you will create a small
assembly language Marie program. The program is a simple multiplication app
(MARIE does not have a MULT operator, so you have to figure out how to do this on
your own). Basically, your program will issue a prompt (>), then accept a single
digit integer from the user. (Hit the ENTER key to actually enter the value). It will
then echo that integer to the screen, print a * symbol, then wait for a second digit.
It will then echo this digit to the screen, followed by the = symbol and then the
result of the multiplication. There is no error checking, so all numbers entered should
be a single digit, and the result must also be a single digit. So 2*3=6 or 8*1=8
is okay, but 3*5=15 is not (i.e., your program is not expected to be able to
handle the third case properly). When the calculation is finished, you must tell the
program whether to continue or not. If you enter a !, the program will print BYE
to the screen and halt. If you simply hit the ENTER key instead, it will loop and
provide a new prompt.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

Students also viewed these Databases questions

Question

=+ (a) Show that A,(i) is trifling.

Answered: 1 week ago