Question: a. Write an assembly code to solve the following expression C=XA+YB Here A, B and C are memory variables, you can define those in program.
a. Write an assembly code to solve the following expression C=XA+YB Here A, B and C are memory variables, you can define those in program. On the other hand X and Y are the constants. Where X= 1 Y=1
b. What is the difference between MOV and XCHG Opcode? What is the role of Temp registers during XCHG operation? Give an example of sample code.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
