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

Which of the following weapons was NOT used in World War I? tank atomic bomb poison gas airplane
You purchase a shirt for $8.50 there is a 6% sales tax your total cost will br
can 15 percent be written as a ratio
Which Southeast Asian country was never colonized by a European power? a. Indonesia b. Thailand c. French Indochina d. Khmer
What is the general form of the equation of a circle with its center at (-2, 1) and passing through (-4, 1)? x2 + y2 − 4x + 2y + 1 = 0 x2 + y2 + 4x − 2y + 1 = 0
Which of the following is not part of prewriting? (4 points) Select one: a. Determine voice b. Generate ideas c. Organize ideas d. Write introduction
how to multiply 7.86 and 4.6
Which of the following is not part of prewriting? (4 points) Select one: a. Determine voice b. Generate ideas c. Organize ideas d. Write introduction
Which best completes the sentence? The pool at this resort is much nicer than our __________ . a. condo's b. condos' c. condos d. condo
Why were US businesses upset by Spanish reactions to the Cuban Revolution during the late 1800s?