Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Assembler language: Answer the questions using the dump.txt file. dump.txt: ------------------------------------------------------------- NOTE: ABEND - (abnormal end) 1. Did this error occur (a) while the

In Assembler language:

Answer the questions using the ‘dump.txt’ file.

dump.txt:

-------------------------------------------------------------

student submitted image, transcription available below

NOTE: ABEND - (abnormal end)

1. Did this error occur (a) while the program was being assembled or (b) when it was being
run?
2. What is the address of the next instruction which would have been executed?
3. What is the value of the condition code at the time of the ABEND?
4. What is the length of the instruction that caused the ABEND (number of bytes)?
5. What is the address of the instruction that caused the ABEND?
6. What type of error occurred (number and name)?
7. What usually causes this error?
8. What does the value in register 3 represent at the time of the ABEND?
9. What does the value stored at location counter value 00002C represent?
10. What instruction needs to be added to fix this ABEND?
11. Using the instruction trace, describe the sequence of operations performed by the CPU
after the XDUMP, leading up to the ABEND.
 

000000 14 DUMPEX5 CSECT 000000 15 USING DUMPEX5, 15 ESTABLISH REG 15 AS BASE REG 000000 1B33 16 * 17 18 * 000002 4150 F024 00024 000006 4160 F028 00028 20 00000A 5A30 5000 00000 00000E 5A30 6000 00000 000012 4180 F020 00020 000016 5030 8000 00000 00001A E160 0000 0000 00000 2222222222 21 * * * * SR 3,3 LA LA 5, VAR1 6, VAR2 CLEAR REG 3 LOAD ADDRESS OF VAR1 INTO REG 5 LOAD ADDRESS OF VAR2 INTO REG 6 A A 24 * * 25 26 45 >> 3,0(,5) 3,0(,6) ADD VAR1 TO REG 3 ADD VAR2 TO REG 3 ST 8, ADDED 3,0(,8) 27 * 28 XDUMP LOAD ADDRESS OF VARIABLE ADDED INTO REG 8 STORE THE SUM OF VAR1 & VAR2 AT ADDED DUMP REGS 29 * LTORG 31 * 000020 00000000 000024 47E21980 000028 000ED6AC 32 ADDED 33 * 34 VAR1 00002C 5020F032 35 VAR2 36 VAR3 37* END 8888 DC F'0' DC FULLWORD OF ZERO TO HOLD SUM F'1206000000' VARIOUS FULLWORD INTEGER VALUES F'972460' F'1344335922' 38 DUMPEX5 WARNINGS, NO ERRORS 1152 HIGH: 416 LEAVING: 492000 FREE BYTES. AVERAGE: 40 BYTES/STMT *** *** NO STATEMENTS FLAGGED - NO DYNAMIC CORE AREA USED: LOW: ASSEMBLY TIME = 0.000 SECS, *** PROGRAM EXECUTION BEGINNING ANY OUTPUT BEFORE EXECUTION TIME MESSAGE IS PRODUCED BY USER PROGRAM *** BEGIN XSNAP - CALL 39000 STATEMENTS/SEC *** REGS 0-7 REGS 8-15 F4F4F4F4 00000020 1 AT E0000020 USER REGISTERS F4F4F4F4 F4F4F4F4 F4F4F4F4 47F0F02C F4F4F4F4 F4F4F4F4 F4F4F4F4 F4F4F4F4 00000024 00000030 00000028 FFFE7960 F4F4F4F4 00000000 0.000 SECS. 10 INSTRUCTIONS EXECUTED - 10000 INSTRUCTIONS/SEC *** *** EXECUTION TIME = *** FIRST CARD NOT READ: NO CARDS READ: FILE UNOPENED ASSIST COMPLETION DUMP PSW AT ABEND FFC50006 A0000030 COMPLETION CODE SYSTEM = 0C6 SPECIFICATION **TRACE OF INSTRUCTIONS JUST BEFORE TERMINATION: PSW BITS SHOWN ARE THOSE BEFORE CORRESPONDING INSTRUCTION DECODED *** IM LOCATION INSTRUCTION : IM = PSW BITS 32-39 (ILC, CC, MASK) BEFORE INSTRUCTION EXECUTED AT PROGRAM LOCATION SHOWN 1B33 00 000000 40 000002 80 000006 80 00000A 4150 F024 4160 F028 5A30 5000 A0 00000E 5A30 6000 A0 000012 A0 000016 A0 00001A E0 000020 A0 00002C 4180 F020 5030 8000 E160 0000 0000 47F0 F02C 5020 F032

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introductory Statistics Exploring The World Through Data

Authors: Robert Gould, Colleen Ryan

2nd Edition

9780321978509, 321978277, 321978501, 978-0321978271

More Books

Students also viewed these Programming questions