At Westonci.ca, we connect you with the best answers from a community of experienced and knowledgeable individuals. Explore thousands of questions and answers from a knowledgeable community of experts on our user-friendly platform. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

Translate the following ‘C’ program into assembly language and run on PEP-9 simulator.
Show all test cases:

int main()
{
int number;
scanf("%d", &number);
if (number % 2 == 0)
{
printf("Even\n");
}
else
{
printf("Odd\n");
}
return 0;
}