Question: Use direct addressing in all these programs. Execute them on the pep 8 simulator, and submit your pepo file. 1 . Write a machine -

Use direct addressing in all these programs. Execute them on the pep8 simulator, and submit your pepo file.
1. Write a machine-language program to add the three numbers 2,3, and 6 and output the sum on the output device.
Note that one of the numbers you are asked to add is negative.
What I have so far
0000 C10010;load first integer into acc
0003710012;add second int
0006710014;add third integer
0009 E10016;store from acc to memory
000C 390016;output from memory
000F 00 ;stop
00100002
0012 FFFD
00140006
00160000
(It must be in output in the way I have so far and in PEP/8)

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!