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,406 of 4,675   
   wolfgang kern to R.Wieser   
   Re: FPU (x87) code debugging.   
   08 Aug 21 16:35:02   
   
   From: nowhere@nospicedham.never.at   
      
   On 08.08.2021 16:00, R.Wieser wrote:   
      
   >> you seem to work with 32 bit:   
      
   > I am.  Didn't think it would matter much.   
      
   >> 0F AE 07   FXSAVE [edi]   
      
   > I just tried that one, and it worked !   (got 288 bytes of data though, not   
   > 512)  As a result I'm now thoroughly confused in regard to the mod, reg, r/m   
   > encoding.   I tried different ones, but only got crashes.   
      
   IIRC we got 288 bytes with FSAVE long, 512 bytes may be just the   
   required buffer size.   
      
   >> you used 27, so I were confused and had you look at my AMD docs,   
   > That value was suggested by Robert (in his code).  And as I didn't get   
   > anywhere ...   
      
   > Oh blimy - I don't know how I did it, but I just noticed that I somehow   
   > mixed up the 16 and 32-bit mod/reg/rm encodings.  With the MOD and REG both   
   > being zero the by R/M targetted registers are rather different between them.   
   > :-|   
      
   > Bottom line: I made a stupid mistake, created non-working code and got   
   > myself confused as a result.   And as I presumptiously forgot to mention the   
   > basics of what I was busy with (32-bit coding) I did really help you guys   
   > find the cause of it.    My apologies for that.   
      
   I was once there as well :) experience can't be bought!   
   just fine that we could help, no need for apology.   
   __   
   wolfgang   
      
   --- 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