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

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 Databases Questions!