Ask Question
6 September, 13:44

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.

+3
Answers (1)
  1. 6 September, 17:12
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers