home bbs files messages ]

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,599 of 4,675   
   Tavis Ormandy to Tavis Ormandy   
   Re: ss and lea on 8086   
   24 Jun 23 15:39:49   
   
   From: taviso@nospicedham.gmail.com   
      
   On 2023-06-24, Tavis Ormandy wrote:   
   >> I've been looking at this for hours.   
   >>   
   >> Unless I've somehow stuffed up the test, this data is   
   >> all being set to 'P'.   
   >   
   > I don't follow, you set buf[3] to 'R' (shows as OFFSET 82 in the   
   > disassembly) and buf[4] to 'S'.   
      
   Ah, as soon as I hit send I realized what you were saying - you don't   
   think there's a miscompilation. You're saying the write to ss:[bx] isn't   
   working, and you suspect the lea is to blame?   
      
   It seems correct to me, the base should be irrelevant and the actual   
   write has the correct override. I don't know what could be causing   
   that!   
      
   Tavis.   
      
      
   --   
    _o)            $ lynx lock.cmpxchg8b.com   
    /\\  _o)  _o)  $ finger taviso@sdf.org   
   _\_V _( ) _( )  @taviso   
      
   --- 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