Question: ***ONLY USING NASM ASSEMBLY LANGUAGE CODE (NO LOOPS) NOTHING ELSE*** Write a program to read three numbers. Each number is between 0 and 9. Then,
Write a program to read three numbers. Each number is between 0 and 9. Then, Divide the first two, then multiply the result by the third number. So if the input is: ations 422 The program should do this: 4/ 2 - 2 2 2 - 4 It should ONLY display the final result, which is 4. I do not need to see anything else other than the final value. So if I test it with input like: 9 2 3 it should display 12 Another example, if the input is: 913 the program should display 27 "Input is always 3 numbers *** Each input number is 2 bytes tong. A space followed by a number. The number is between 0 and 9 *** NO DIVISION BY O. SO THE SECOND NUMBER CAN NOT BE O DO NOT WORRY ABOUT THIS CASE (since we did not toke if statement yet) *** Note that 4 is 2 bytes, because it's space 4 and 2 is two bytes, because it's space 2 and 3 is space followed by 2 Simply copy/paste your code into a text file. Make sure your name is at the top (in a comment) and the file name is YOUR NAME
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
