Question: Machine Language Program using Pep/9 Need help with problems 14 and 16 (Shown in picture below) All help is appreciated CHAPTER4 Computer Architecture Problems Section
CHAPTER4 Computer Architecture Problems Section 4.4 Vrite a machine language program to output your name on the output ce. The name you output must be longer than two characters. Write it in a format suitable for the loader and execute it on the Pep/9 simulator devi 12. Write a machine language program to output the four characters Prog on the output device. Write it in a format suitable for the loader and execute it on the Pep/9 simulator 13. Writ e a machine language program to output the three characters Cat on the output device. Write it in a format suitable for the loader a execute it on the Pep/9 simulator 14. Write a machine language program to add the three numbers 2, -3, and 6 and output the sum on the output device. Store the -3 in hexadecimal. Do not use the subtract, negate, or invert instructions. Write the program in a format suitable for the loader and execute it on the Pep/9 simulator Write a machine language program to input two one-digit numbers, add them, and output the one-digit sum. There can be no space between the two one-digit numbers on input. Write the program in a format suitable 15. for the loader and execute it on the Pep/9 simulator. 16. Write the program in Figure 4.35 in hexadecimal format for input to the loader. Verify that it works correctly by running it on the Pep/9 simulator with an input of up. Then modify the store byte instruction at 0003 so that the first character is stored at Mem[FCAA] and the load byte instruction at 000C is also from Mem[FCAA]. What is the output? Explain
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
