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

how do i start this?
Drug abuse, family violence, and malnutrition are often the result of:
Read the passage and answer the question that follows. "We have been advised by some credible (meaning "believable") Christians yet alive, that a malefactor (me
What is the difference between upper Egypt and lower egypt
¿Cómo se dice "storm" en español? A. El viento B. El tiempo C. La neblina D. La tormenta
If 4(x-2/3)=-18, what is the value of 2x?
Tiffany buys a basket of watermelons on sale for $9 b4 the sales tax ,The sales tax is 9% how do u find sales tax
Evaluate the expression when x = 3 and y = 5 6y/x
For each exercise draw circle O with radius 12. Then draw radii OA and OB to form an angle with the measure named. Find the length of AB. Answer for each of the
Why was Julius Caesar Killed?