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 4,496 of 4,675    |
|    R.Wieser to All    |
|    Re: error for small data model    |
|    16 Nov 22 17:16:07    |
      From: address@nospicedham.not.available              Paul,              > I'm wondering how a C "hello world" could have worked in small       > memory model C compiler (any vendor) when the "hello world"       > string could come from either a buffer on the stack or a data       > variable.       >       > It somehow magically worked.              :-) Thats the problem when you use a compiler, it hides a lot of the "magic"       from you.              When using a compiler it just silently switches to the library matching the       chosen memory model and "upgrades" your involved pointers accordingly.              Maybe you can tell your compiler to generate an assembly listing of the       program you're compiling, and see how it works ?              Regards,       Rudy Wieser              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca