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,351 of 4,255   
   Joe Monk to All   
   Re: segmentation   
   23 Oct 22 07:50:14   
   
   From: joemonk64@gmail.com   
      
   > If not, what's the issue?   
   >   
      
   It doesnt work - It breaks segmentation.   
      
   0x5555 = 0101010101010101   
      
   0x0005 = 0000000000000101   
      
   So adding those two to get 21 bits ...   
      
   Shifting 0x5555 5 bits left gives 0X0AAAA0   
      
   Adding 0x0005 gives ...   
      
   I get 0x0AAAA5   
      
   0x5333 = 0101001100110011   
      
   0x2225 = 0010001000100011   
      
   Adding those two to get 21 bits ...   
      
   Shifting 0x5333 5 bits to the left gives 0x0A6660   
      
   Adding 0x2225 gives...   
      
   I get 0x0A8885   
      
   Joe   
      
   --- 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