Question: Write a program to add 4 0 ( decimal ) and - 1 0 ( decimal ) . There is no input, so these integers
Write a program to add decimal and decimal There is no input, so these integers should be stored in memory. Output the result.
Verify you can do the above program WITH INPUT. There is a video in this weeks module called
AddIntegers
Write a program to input an integer, add decimal to it and output the result.
Write a program to input an integer, subtract decimal from it and output the result. There is no need for your initial integer to be greater than your output will just be negative. Look at the status bits. If your result is negative N should be if your result is zero, Z should be
Write a program to input an integer, multiply it by output the result. This is perhaps the most difficult, so be sure you can do this or ask for help.
Use pep
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
