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,657 of 4,675   
   wolfgang kern to Terje Mathisen   
   Re: Indirect INT calling   
   03 Nov 18 11:35:56   
   
   From: nowhere@never.at   
      
   Terje Mathisen wrote:   
      
   > 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.   
      
   > proc trampoline   
   >   cli   
   >   pushf   
   > patch_target:   
   >   jmp far 1234h:5678h   
   >   ret   
   > endp   
      
      
   I once used for single stepping into SW_INT code:   
      
    pushf   
    cli   
    call far imm16:16   
    ret   
   __   
   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