Question: Write a machine language program to input two one - digit numbers ranging from 0 to 4 ( using the decimal input instruction ) ,

Write a machine language program to input two one-digit numbers ranging from 0 to 4
(using the decimal input instruction), add them, and then output the single digit sum
(using the decimal output instruction). Execute your program in the PEP/8 simulator.
Example
Input: 43
Output: 7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!