Question: B. Write an Assembly program to read in two numbers from ports 10 and 12 respectively, and compare these two numbers. If the first number

 B. Write an Assembly program to read in two numbers from

B. Write an Assembly program to read in two numbers from ports 10 and 12 respectively, and compare these two numbers. If the first number (from port 10) is less than the second number (from port 12) then put 30 into register H, otherwise put 15 into register H. After that, move out the value of register H to port 14. You must apply the following: 1. You must add your name and student number as a comment at the top of the program. 2. Use B201X393XXX as the name of the program, where 201X393XXX is your student number

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!