SP HW5
SP HW5
SP HW5
Q1) The following program consists of three control sections; Assume the first control section
called PROG1 looks like:
Object
Loc Code
H^PROG1 ^000000^000063
D^ LISTA^000040^ ENDA^000054
R^ LISTB^ ENDB^LISTC^ENDC
T^000020^0A^03201D^77100004^050014
…….
T^000054^0F^000000^FFFFFD^FFFF9C^FFFFEC
M^000024^05^+ LISTB
M^000054^06^+ LISTC
M^000057^06^+ LISTB
M^00005A^06^+ LISTB
M^00005A^06^+ PROG1
M^00005D^06^+ ENDC
M^00005D^06^ -LISTC
M^000060^06^+ PROG1
M^000060^06^-PROG1
M^000060^06^ -LISTB
M^000060^06^+ ENDB
E^000020
3) Assume PROGADDR = 250016, and the loader loaded PROG1, PROG2 and PROG3
consecutively, and the ESTAB is:
(b) Based on 250016 as a PROGADDR, what are the actual values of REF4, REF5, and
REF6 in PROG1?
REF4:002612
REF5:0025C0
REF6:004B03
Q3)