Ask Question
6 February, 02:23

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.

+2
Answers (1)
  1. 6 February, 02:56
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers