Question: Write a machine-language program to add the three numbers 6, -7 and 4 and output the sum on the output device. Note-the inputs can be
Write a machine-language program to add the three numbers 6, -7 and 4 and output the sum on the output device. Note-the inputs can be hard coded in data storage at the end of your code. The accumulator holds 16 bits so use 16 bit Twos Complement for the -7 and do not use the subtract instruction. Write it in a format suitable for the loader and execute it on the PEP/8 simulator.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
