Question: Using Direct Addressing: a. Write a machine-language program to input a number, multiply it by 2, and output the result on the output device. Write
Using Direct Addressing:
a. Write a machine-language program to input a number, multiply it by 2, and output the result on the output device. Write it in a format suitable for the loader and execute it on the Pep/8 simulator.
b.Write a machine-language program to input a number, divide it by 4, and output the result on the output device. 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
