home bbs files messages ]

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,338 of 4,255   
   mutazilah@gmail.com to wolfgang kern   
   Re: segmentation   
   23 Oct 22 00:38:50   
   
   From: muta...@gmail.com   
      
   On Sunday, October 23, 2022 at 1:43:26 PM UTC+8, wolfgang kern wrote:   
   > On 23/10/2022 03:31, muta...@gmail.com wrote:   
   > ...   
   > > 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.   
   > right, but...   
   > you cannot have 80Kb in the 16 bit world :)   
      
   You can.   
      
   > it needs two registers to hold that value,   
      
   That's exactly how it is done.   
      
   > UNREAL mode with 32-bit register usage   
   > within 16 bit wasn't available before 80386.   
      
   I have zero interested in 32-bit registers as far as   
   this conversation is concerned.   
      
   > why you insists on 5 bit shift-Add?   
   > this would result in many unused bits.   
      
   What on earth are you talking about?   
      
   Don't tell me after all this time you STILL   
   don't know what I'm talking about?   
      
   What unused bits? Where?   
      
   > Nibbles and bytes are the given opportunities.   
      
   Opportunity for what, as far as segment shift is   
   concerned?   
      
   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