+91 9945200008     support@uttaracomputers.com
LOGIN     REGISTER    

Doubt in Audio-24 (Linking-2)

0
0

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?

  • You must to post comments
0
0

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.

MLS Shastry

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.