Categories
Assembly

Write an assembly language program which takes two integers, A and B, and comput

Write an assembly language program which takes two integers, A and B, and
computes the following expressions. You must use the same variables for A and
B throughout all three expressions (you can hard code once at the beginning).
The result of each problem should be printed to the terminal.
1) A * 5
2) (A + B) – (A / B)
3) (A – B) + (A * B)
Writing C code and converting it into Assembly and submitting the
compiler generated Assembly is STRICTLY PROHIBITED.
Write Comments:
Explain both what you’re doing and why you’re doing it.