Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!spool2.mu.edu!uunet!seas.gwu.edu!viraf From: viraf@seas.gwu.edu (Viraf Bankwalla) Newsgroups: comp.os.msdos.programmer Subject: Writing an interrupt handler in MSC Message-ID: <2628@sparko.gwu.edu> Date: 25 Jan 91 14:40:14 GMT Reply-To: viraf@seas.gwu.edu () Organization: The George Washington University, Washington D.C. Lines: 21 Hi, I wrote an isr for the serial port in MSC 6.0. All vars were defined as static, as I thought this would greatly increase the speed. All worked fine, until I added to the isr. On speaking with Microsoft, I was informed that all vars used by the isr MUST be globals. Great, I made the change, and my throughput has dropped by over 50 %. On getting an asm listing, I see that most of my time seems to be loading the es register with the segment address. How can I bypass this ?? Any help would be greatly appreciated. Thanks in advance. viraf bankwalla. viraf@seas.gwu.edu ...!uunet!gwusun!viraf