Question: In assembly language and pep 8 1 . Write a complete pep 8 program that calls a function called ADD 5 . Add 5 inputs

In assembly language and pep 81.Write a complete pep8 program that calls a function called ADD5.
Add5 inputs a number and adds 5 to it. It then outputs it. This means there are no parameters, and no return.
2. Alter your program so that the function returns the new value to main, and main outputs the result (note that main cannot print the initial integer because it doesn't know it, the input is done by the function).

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 Programming Questions!