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 3,544 of 4,675   
   Robert Prins to Bernhard Schornak   
   Re: Converting MMX to XMM [was: XSAVE ar   
   18 Sep 18 11:05:31   
   
   From: robert@nospicedham.prino.org   
      
   On 2018-09-17 20:53, Bernhard Schornak wrote:   
   > Robert Prins wrote:   
   >   
   >   
   >> Tried x65dbg, and tracing into Windows is OK, XMM's are ok, until I hit a:   
   >>   
   >> 74AF2320 | EA 1E27AF74 3300         | jmp far 33:74AF   
   71E                     |   
   >>   
   >> which doesn't want to be traced, and which comes back with XMM0, yes, set to   
   >> zero.   
   >   
   >   
   > If your far jump calls a HLL function, XMM0 is a 'volatile'   
   > register. If you need its content after that function call,   
   > you have to preserve it prior to the call and restore it on   
   > re-entry (or use XMM6 ... XMM15).   
      
   The far jump jumps into Windows itself, and I would expect an OS not to touch   
   my   
   registers.   
      
   Robert   
   --   
   Robert AH Prins   
   robert(a)prino(d)org   
      
   --- 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