Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started