Question: Write an Assembly language program to define NUM 1 and NUM 2 with values 5 and 5 5 . Then read a value from the

Write an Assembly language program to define NUM1 and NUM2 with values 5 and 55. Then read a value from the 1/0 port with address 100 and set it to register C. if the value entered is greater than 50, add NUM1 to Accumulator and load the result to register E else, add NUM2 to Accumulator and load the result to register B

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!