From: "Dark Angel" Newsgroups: comp.os.msdos.djgpp Subject: User interrupt question... Date: 24 May 1998 23:51:43 GMT Organization: Dark Angel Soft Lines: 14 Message-ID: <01bd876e$a37d6ba0$LocalHost@default> NNTP-Posting-Host: 194.65.239.164 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Let's suppose that i have installed a keyboard interruption to process keystrokes, and that i have an asm function to do something (doens't matter what). Now let's suppose that i am running my program and occurs a call to my keyboard interrupt when my asm function is being executed. Will the code in the interrupt function change the values of the registers? Do i have to make a cli and a sti in the asm function to prevent a call to the interrupt when the function is being executed? Should i do a pusha and a popa in the function that the interrupt calls to svae the register values? Thank's Jorge Lima from Dark Angel Soft, Portugal