Question: Write the program below in the figure in hexadecimal format for input to the loader. Verify that it works correctly by running it on the

Write the program below in the figure 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.

Write the program below in the figure in hexadecimal format for input

Address Machine Language (bin) 0003 0006 0009 000C 000F 0012 1111 0001 0000 0000 0001 0011 1101 0001 0000 0000 0001 0011 Address 0003 0006 0009 000C 000F 0012 Machine Language (hex) D1FC15 Input first character F10013 Store first character DIFC15 Input second character F1FC16 Output second character D10013 Load first character F1FC16 Output first character Stop Input up Output Address Machine Language (bin) 0003 0006 0009 000C 000F 0012 1111 0001 0000 0000 0001 0011 1101 0001 0000 0000 0001 0011 Address 0003 0006 0009 000C 000F 0012 Machine Language (hex) D1FC15 Input first character F10013 Store first character DIFC15 Input second character F1FC16 Output second character D10013 Load first character F1FC16 Output first character Stop Input up Output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!