michaeltreece7867 michaeltreece7867
  • 06-03-2020
  • Computers and Technology
contestada

Write a machine-language program to add the three numbers 2, –3, and 6 and output the sum on the output device. Write it in a format suitable for the loader and execute it on the Pep/8 simulator.

Respuesta :

abdullahfarooqi
abdullahfarooqi abdullahfarooqi
  • 08-03-2020

Answer:

Below is the code ...hope it meet the requirements

lda 0, i

adda 6, i

suba 3, i

adda 2, i

STA 0x0010 ,d

CHARO 0x0010 ,d

.end

Explanation:

Answer Link

Otras preguntas

what 3 pieces of evidence did Wegener use to support his theory?
what is million and million
a 2 digit number is 5 times its units digit. the sum of the digits is 7. find the number
(6/7) to the 2nd power
What is another way to make 57 cents with coins
2x+5×-8=12-10 how do slove it
am - d = b solve for me
The length of a rectangle is 5 feet more than twice the width. The perimeter is 130 feet. Find the dimensions.
central subs made 27 sandwiches using 12 pounds of turkey. how much turkey was used per sandwich?
If something starts at 10.25 and lasts for 45 minutes what time does it finish