Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question #1: The program below consists of three different control sections; the instructions and directives for control section PROGA is shown. 0000 PROGA START 0

image text in transcribed
image text in transcribed
Question #1: The program below consists of three different control sections; the instructions and directives for control section PROGA is shown. 0000 PROGA START 0 EXTDEF LISTA.ENDA EXTREF LISTB, ENDB,LISTC,ENDC 0020 0024 0027 REF1 REF2 REF3 +LDA LDT LDX ENDB LISTA C'12 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0040 EQU LISTA LTORG 0054 0054 0057 005A ENDA REF4 REFS REF6 EQU WORD WORD WORD END LISTB-15 LISTA+LISTB LISTA-LISTB-ENDA+ENDB a. Write down the machine code and the modification records (IF NEEDED) generated for the following location counters: LOC CTR OBJECT CODE MODIFICATION RECORD 0020 0024 0027 0054 0057 Page 1 of 2 005A b. Assume that your assembler didn't support literals, a. What kind of errors will be generated and in which pass? b. what changes will need to be made to PROGA in order for it to work with the same functionality

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

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions

Question

=+j Improve the effectiveness of global and virtual teams.

Answered: 1 week ago