Question: Write an assembly language program that repeatedly prompts the user to enter signed decimal integer numbers. The program should be run from the command prompt,
Write an assembly language program that repeatedly prompts the user to enter signed decimal integer numbers. The program should be run from the command prompt, output a text prompt to the screen, and then wait for the user to type in a number followed by the Enter key. (The legitimate range of user input values is any signed integer that can be represented in 32 bits.) After each number is entered, the program should determine and display the following information about the number: whether it is positive ornegative; whether it is evenorodd; and whether or not it can be represented in 8bits (in other words, is it in the range -128 x+127). For example, if the user entered the number +5, the output generated by the program shouldlook similar to this:
In Assembly language
+5 is a positive number.
+5 is an odd number
+5 can be represented in 8 bits.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
