Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Answer each question about the following SIC / XE program EXAM REF1 REF2 REF3 REF4 REF5 BUFFER BUFEND LISTA ENDA MAXLEN START 0 EXTDEF LISTA,
Answer each question about the following SIC / XE program EXAM REF1 REF2 REF3 REF4 REF5 BUFFER BUFEND LISTA ENDA MAXLEN START 0 EXTDEF LISTA, ENDA, BUFFER, BUFEND EXTREF LISTB, ENDB +LDA #MAXLEN WORD ENDB - LISTB + LISTA-3 WORD ENDB - LISTA +LDA LISTB RESW RESB 4096 EQU WORD RESW 1 EQU BUFEND - BUFFER SUB1 REF1 REF2 REF3 REF4 REF5 TEMP LISTB ENDB MAXLEN CSECT EXTDEF LISTB, ENDB EXTREF LISTA, ENDA, BUFFER, BUFEND LDA MAXLEN, X +LDA LISTA RESW WORD ENDB-LISTB + LISTA-3 WORD ENDB - ENDA RESW WORD EQU WORD BUFEND - BUFFER END REF1 a. For the EXAM control section i. Generate object code for each statement ii. Create an object program file b. For the SUB1 control section i. Generate object code for each statement ii. Create an object program file What if you change the MAXLEN of SUB1 to MAXLEN EQU BUFEND - BUFFER just like EXAM'S MAXLEN? Answer each question about the following SIC / XE program EXAM REF1 REF2 REF3 REF4 REF5 BUFFER BUFEND LISTA ENDA MAXLEN START 0 EXTDEF LISTA, ENDA, BUFFER, BUFEND EXTREF LISTB, ENDB +LDA #MAXLEN WORD ENDB - LISTB + LISTA-3 WORD ENDB - LISTA +LDA LISTB RESW RESB 4096 EQU WORD RESW 1 EQU BUFEND - BUFFER SUB1 REF1 REF2 REF3 REF4 REF5 TEMP LISTB ENDB MAXLEN CSECT EXTDEF LISTB, ENDB EXTREF LISTA, ENDA, BUFFER, BUFEND LDA MAXLEN, X +LDA LISTA RESW WORD ENDB-LISTB + LISTA-3 WORD ENDB - ENDA RESW WORD EQU WORD BUFEND - BUFFER END REF1 a. For the EXAM control section i. Generate object code for each statement ii. Create an object program file b. For the SUB1 control section i. Generate object code for each statement ii. Create an object program file What if you change the MAXLEN of SUB1 to MAXLEN EQU BUFEND - BUFFER just like EXAM'S MAXLEN
Step 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