Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please answer the following questions. Theyre debugging questions. Run the following program. You can use the JCL we used in the lab training exercise USING
Please answer the following questions. Theyre debugging questions. Run the following program. You can use the JCL we used in the lab training exercise USING WRITTEN2,15 ESTABLISH A BASE REGISTER LOAD ANOTHER NUNSER INTO REGISTER ADD THE WO 4, SPRING AR 3 LA 5, SUNMER ST ,0(6,5) ,YETNORE SUBTRACT YET ANOTHER NUKBER SET REGESTER 5 ADORESS OF SUIER COPY SIX'S VALUE INT0 REGISTER STORE THIE XDUMP AUTUMN, 4 THE RESULT SET REGISTER 7 14 RETURN TO CALLER THIS IS A COMMENT LINE. CL2'OK WINTER DC F.211. SPRING C F94 SUMMER DS NUTUMN DS A NUMSER211 oF THE TWO NUMBERS Use the resulting output to answer the following questions: 1. (2 points) Did this error occur (a) while the program was being assembled or (b) when it was being run? 2. (2 points) What is the address of the next instruction which will be executed? 3. (2 points) What is the value of the condition code at the time of the ABEND? 4. (2 points) What is the length of the instruction that caused the ABEND (a number of bytes)? 5. (2 points) What is the address of the instruction that caused the abend? 6. (2 points) What type of error occurred (number and name)? 7. (2 points) What actually causes this error? 8. (3 points) Correct the error by rewriting the section of code that caused it. (The sum should be stored in AUTUMN.) (There are several correct ways to do this.) 9. (2 points) At the time of the ABEND, what is the value of register 4 in decimal? 10. (2 points) What does the value in register 4 represent at the time of the ABEND? 11. (3 points) Why is the address (LOC column) of the storage area with the label SIX on it at x000028' when the DC statement whose address is X'000024' only takes up 2 bytes? 12. (2 points) What are the contents of the two bytes of user storage starting at address X'000026? What do they represent? 13. (1 point) Why do we not have XDUMP output? 14. (2 points) How many bytes are taken up by the XDUMP pseudo-instruction? 15. (1 point) If we correct the error, what should be the value of the condition code at the end of the program (when we reach the BCR line)? Run the following program. You can use the JCL we used in the lab training exercise USING WRITTEN2,15 ESTABLISH A BASE REGISTER LOAD ANOTHER NUNSER INTO REGISTER ADD THE WO 4, SPRING AR 3 LA 5, SUNMER ST ,0(6,5) ,YETNORE SUBTRACT YET ANOTHER NUKBER SET REGESTER 5 ADORESS OF SUIER COPY SIX'S VALUE INT0 REGISTER STORE THIE XDUMP AUTUMN, 4 THE RESULT SET REGISTER 7 14 RETURN TO CALLER THIS IS A COMMENT LINE. CL2'OK WINTER DC F.211. SPRING C F94 SUMMER DS NUTUMN DS A NUMSER211 oF THE TWO NUMBERS Use the resulting output to answer the following questions: 1. (2 points) Did this error occur (a) while the program was being assembled or (b) when it was being run? 2. (2 points) What is the address of the next instruction which will be executed? 3. (2 points) What is the value of the condition code at the time of the ABEND? 4. (2 points) What is the length of the instruction that caused the ABEND (a number of bytes)? 5. (2 points) What is the address of the instruction that caused the abend? 6. (2 points) What type of error occurred (number and name)? 7. (2 points) What actually causes this error? 8. (3 points) Correct the error by rewriting the section of code that caused it. (The sum should be stored in AUTUMN.) (There are several correct ways to do this.) 9. (2 points) At the time of the ABEND, what is the value of register 4 in decimal? 10. (2 points) What does the value in register 4 represent at the time of the ABEND? 11. (3 points) Why is the address (LOC column) of the storage area with the label SIX on it at x000028' when the DC statement whose address is X'000024' only takes up 2 bytes? 12. (2 points) What are the contents of the two bytes of user storage starting at address X'000026? What do they represent? 13. (1 point) Why do we not have XDUMP output? 14. (2 points) How many bytes are taken up by the XDUMP pseudo-instruction? 15. (1 point) If we correct the error, what should be the value of the condition code at the end of the program (when we reach the BCR line)
Please answer the following questions. Theyre debugging questions.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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