Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.development    |    Operating system development chatter    |    4,255 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 3,343 of 4,255    |
|    mutazilah@gmail.com to Joe Monk    |
|    Re: segmentation    |
|    23 Oct 22 01:38:22    |
      From: muta...@gmail.com              On Sunday, October 23, 2022 at 3:54:32 PM UTC+8, Joe Monk wrote:              > > People don't define huge pointers in C just       > > because they really love seeing small offsets.       > >       > > They do it so that the compiler generates       > > the required code to add a large value       > > to a far pointer, for example 80k,       > > and the segment will be manipulated       > > to get it to reach that memory address 80k       > > further in absolute memory, as opposed       > > to getting the added value truncated       > > modulus 64k at most.              > Hardware doesnt give a shit about the C language.              Both the hardware, and myself, care about the code that       C compilers generate.              I'm happy to modify a C compiler if necessary. Or pay       someone else to do it, as I have been doing already.              That is my interest, and that is my question.              I don't care if Fortran or Turtle Graphics or some other       language has a perfectly valid reason for hardcoding       the number 4.              I care about C90, where I am willing to, and have,       inspected the assembler output of DOS C compilers.              BFN. Paul.              --- 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