Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
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 OutputStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started