Question: assembly language code should be according to the EMU8086 syntax Q2 (10 Marks) An even number is a number that can be divided into two
assembly language code should be according to the EMU8086 syntax
Q2 (10 Marks) An even number is a number that can be divided into two equal groups, end in 2, 4, 6, 8 and 0. An odd number is a number that cannot be divided into two equal groups, end in 1, 3, 5, 7 and 9. Write a program (using TEST instruction) which reads number (you must apply check for numbers) from user and tell whether it is even or odd. Example: Enter character: 5 It is odd
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
