(Solved) : Multiplication Division Instructions Problem 2 Write Run Program Find Value Var4 Declare V Q37205024 . . .

Multiplication and Division Instructions Problem 2: Write and run a program to find the value of Var4: (Declare var1,and var2 as unsigned memory variables and assign them the values: var1-40, var2-13) Table 7-2 MUL Operands. var4- (var1* 5) / (var2 – 3) Do not modify any variables other than var4: Multiplier Multiplicand AL AX EAX Product AX DX AX EDX EAX reg/meml6 reg/mem32 mov eax,var1 mov ebx,5 mul ebx sub var2,3 div ebx mov var4,eax ; left side ; EDX:EAX – product ; right side ; EAX- quotient uotient Remainder AL AX EAX Dividend Divisor Quotient AX DX:AX EDX EAXr32 AH DX EDX rim8 riml6 Show transcribed image text Multiplication and Division Instructions Problem 2: Write and run a program to find the value of Var4: (Declare var1,and var2 as unsigned memory variables and assign them the values: var1-40, var2-13) Table 7-2 MUL Operands. var4- (var1* 5) / (var2 – 3) Do not modify any variables other than var4: Multiplier Multiplicand AL AX EAX Product AX DX AX EDX EAX reg/meml6 reg/mem32 mov eax,var1 mov ebx,5 mul ebx sub var2,3 div ebx mov var4,eax ; left side ; EDX:EAX – product ; right side ; EAX- quotient uotient Remainder AL AX EAX Dividend Divisor Quotient AX DX:AX EDX EAXr32 AH DX EDX rim8 riml6
Expert Answer
Answer to Multiplication and Division Instructions Problem 2: Write and run a program to find the value of Var4: (Declare var1,and…
OR