Ask Question

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.

+1
Answers (1)
  1. 31 July, 08:08
    0
    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
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “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 ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers