Write a program in assembly that will:
1. Read a number, counter;
2. Go around in a loop where integers are read from the user. When an odd number (e.g. 1, 3, 5, 7 , etc) is read increase a variable, OddAmount by 1, and when an even number is read increase a variable, EvenAmount by 1.
3. Finally, print out the values of OddAmount and EvenAmount.
Your program should satisfy the following requirements.
1. If the input to counter is zero or negative, jump to the end without doing anything.
2. If the input to counter is positive, show the number before starting the loop.
3. In each round of the loop, show a message after the input to indicate whether the input is odd or even.
结果输出: