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,658 of 4,675   
   Terje Mathisen to R.Wieser   
   Re: Indirect INT calling   
   03 Nov 18 12:25:31   
   
   From: terje.mathisen@nospicedham.tmsw.no   
      
   R.Wieser wrote:   
   > Terje,   
   >   
   >> Guys, if you want this to be fast then you do a single SMC setup   
   >> operation to patch a far call site located in a (tiny) near   
   >> function.   
   >   
   > I do not want to sound cranky, but what would that method have over   
   > the classic INT xx, RET procedure ?   
      
   A far call is significantly faster than an INT on most cpus, check Agner   
   Fog's tables.   
   >   
   > Also: CLI below the PUSHF, CALL instead of JMP (I guess this was a   
   > quicky for you).   
      
   Ouch!   
      
   Far too quick indeed. :-(   
      
   Terje   
   >   
   > Regards, Rudy Wieser   
   >   
   >   
      
      
   --   
   -    
   "almost all programming can be viewed as an exercise in caching"   
      
   --- 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