We would like to create an Assembly program whose executable is called division.exe and that behaves as
Question:
We would like to create an Assembly program whose executable is called division.exe and that behaves as follows:
It requests a positive number from the user.
Once it gets the user input, it divides the number by 5 without using the DIV instruction in assembly
It outputs the Quotient and the Remainder As an example, if a user runs the assembly program division.exe and provides a value 34 as an input, the display should show the following: 34 Divided by 5 = 6 and Remainder is 4 As a programmer, you need to check on the input provided by the user and make sure it is valid (e.g. the user input is positive and the input is a number, etc). Make sure that you have comments explaining the purpose of your instructions and what you are trying to achieve using it. Please submit only the code (.asm file)
Essentials of Materials Science and Engineering
ISBN: 978-1111576851
3rd edition
Authors: Donald R. Askeland, Wendelin J. Wright