Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSCI 360 Assignment 5: Disassembly and Decoding 50 points Below is an assembled program and its storage. Disassemble the program by decoding the instructions and

CSCI 360 Assignment 5: Disassembly and Decoding 50 points

Below is an assembled program and its storage. Disassemble the program by decoding the instructions and turning them back into source code. Type what you have disassembled into a member of your PDSE named ASSIGN5 and be sure that it runs successfully and produces the same exact assembled program as shown below under the heading: Here is the assembled program that you need to disassemble and decode:.

Here is the program with the instructions left out:

***************************************************************** ** * CSCI 360 ASSIGNMENT 5 current semester * * DISASSEMBLY & DECODING * ** * DEVELOPER NAME: your name goes here * * DUE DATE: assignment due date goes here * ** * FILL IN CURRENT SEMESTER, DEVELOPER NAME AND DUE DATE. * ** ***************************************************************** *

ASSIGN5 CSECT USING ASSIGN5,15 ESTABLISH ADDRESSABILITY ON REG 15

* YOUR "DISASSEMBLED" PROGRAM CODE GOES HERE

*

LTORG LITERAL ORGANIZATION

* YOUR "DISASSEMBLED" STORAGE DECLARATIONS GO HERE

*

END ASSIGN5

Here is the assembled program that you need to disassemble and decode:

000000 41400017 5850F03C 18241A25 5020F040 000020 1D495040 F0485050 F04CE060 F0000054 000040 0000007C 00000913 00000009 00000004

Program Notes

18751864 1C665070 F0441894 5C40F050 07FEF5F5 F5F5F5F5 F5F5F5F5 00000065 00000001 F5F5F5F5 F5F5F5F5 00000000

Note that the next to the last instruction is: XDUMP ASSIGN5,84 and its operation code is E0. You will need to include this XDUMP in your own program to check that your program storage is exactly the same as the above assembled program.

The register contents are not dumped but you should not need them to complete this assignment.

You will have to decode instructions with explicit addressing as you do not know the names of the

variables.

To clarify, you will disassemble what you see in the assembled program provided above, you will type

the decoded instructions into the program shell provided above and then, finally, you will run the program to be sure that it assembles correctly and that your XDUMP'd program storage matches the assembled program provided above EXACTLY.

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

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books