Question: Please uses . Equate not . block and We are using PEP / 8 Assembly simulator source code we are not using python 1 .

Please uses .Equate not .block and We are using PEP/8 Assembly simulator source code we are not using python
1. 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).
OPCODE TABLE:
Please uses . Equate not . block and We are using

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!