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 is the greatest common factor of 60,90, and 120
what is 964,103 rounded to the nearest hundred thousands
Osmosis occurs through water channel proteins called ...
Why are floods in urban areas particularly dangerous?
Give the function a rule. {(6,42), (0,0), (8,72), (2,6)}
8x^3-27=0 how do I solve this
if the distance is 10 miles and it takes 1000 seconds to travel the distance what is the rate in mph
Gregory predicts that 310 people will attend the spring play. There was an actual of 220 people who attended the spring play.what is the percent error? Round to
A cell with 10 chromosomes undergoes mitosis. Indicate how many chromosomes would be expected in each of the daughter cells?
What ratio is greater then 11/16