In page number 281, the intramodular relocation entry of sub1() is written as “Add 1030 to (1030+0048)”. Is it not “Add 1054 to (1030+0048)” since the relative address of sub1() definition is 0024?
Add 1030 is correct. Only the base address of the (text) segment to be added. The offset 0024 will already part of the instruction generated. Please note that similar numbers suggested in the course have checked to be correct. Please repeat the audio once or twice to fully appreciate.
Please login first to submit.