Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,937 of 4,675    |
|    firr to All    |
|    question about exe (again)    |
|    19 Aug 17 04:35:38    |
      From: profesor.fir@nospicedham.gmail.com              some times ago it was discussed and i know thet here are probably not much       many people knowing that things but maybe some              if you load exe program into memory it is typically loaded under adress       0040_0000 (which is 4 MB skiping from begining)              header is typically loaded under 0040_0000,       code is typically loaded under 0040_1000, and data is loaded after that (in       small hello worlds it will be 0040_2000),       consts after that, static empty ram area is reserved after that, then imports       and other sections also somewhere after that              still i am not sure as to one thing.. in exe       i think you dont necessary need relocations       (or am i wrong?) So this would mean that in       such exe adresses may be fixed (and they in fact would have some values like       004x_xxxx and so on (may be obviously bigger but in small exe this kind of       values))              is this really the case? no relocations and this kind of fixed values there?                      |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca