Question: I have this code for a LMC to divide two numbers. I am trying to add some functions to it but am struggling. The desired

I have this code for a LMC to divide two numbers. I am trying to add some functions to it but am struggling. The desired function are: If the numbers do not divide evenly I need it to output zero then ask for two new numbers to be input. If one of the numbers is negative output -1 first and then output the quotient and stop execution. The LMC is the peter higginson lmc.
 I have this code for a LMC to divide two numbers.

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!