Question: Write a machine-language program for the following: Input 3 decimal numbers (integers) . Add them together and output the result. Verify your solution works for
Write a machine-language program for the following:
- Input 3 decimal numbers (integers) . Add them together and output the result. Verify your solution works for positive numbers, and negative numbers.
- Input two decimal numbers and but subtract the second from the first. Verify your solution works if the result is positive or negative.
- Input one integer using decimal input trap and multiply it by 4. Output the result.
- Similar to #3, but divide the integer by 16. Output the result.
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
