Question: Objective: The objective of this lab assignment is to implement a simple integer math calculator in assembly language using procedures in the x 8 6
Objective: The objective of this lab assignment is to implement a simple integer math calculator in assembly language using procedures in the architecture. The calculator should support basic arithmetic operations such as addition, subtraction, multiplication, division, as well as shifting right and left.
Instructions:
The calculator should take input from the user for operands.
Operation code is not supported; therefore, all operations will be performed after the second number is entered. Order of the operations will be as follows:
Addition: Add two integers and return the result. Display the result of the operation.
Subtraction: Subtract one integer from another and return the result. Display the result of the operation.
Multiplication: Multiply two integers and return the result. Display the result of the operation.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
