Question: In 8086 memory there are two 32-bit positive numbers X and Y where X>Y. X is located between 203 and 200 offset values and Y

In 8086 memory there are two 32-bit positive numbers X and Y where X>Y. X is located between 203 and 200 offset values and Y is located between 103 and 100 offset values. Write small Assembly programs with minimum instructions to subtract Y from X and store the result in X memory location: 

a) by using direct addressing, 

b) by using indirect addressing.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 ANSWER GIVEN THAT MOV SI 0200h MOV DI 0100h MOV BX 300h MOV CX 04H BACK MOV AL SI ... View full answer

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 Computer Engineering Questions!