Xref: utzoo comp.os.msdos.programmer:4358 comp.os.os2.programmer:567 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!harrier.ukc.ac.uk!zodiac.ukc.ac.uk!cur022 From: cur022%cluster@ukc.ac.uk (Bob Eager) Newsgroups: comp.os.msdos.programmer,comp.os.os2.programmer Subject: Re: Info on Changing Stacks in protected mode Message-ID: <22176.27f4b613@cluster@ukc.ac.uk> Date: 30 Mar 91 16:00:19 GMT References: <1991Mar29.155840.2626@netcom.COM> Organization: Computing Lab, University of Kent at Canterbury, UK. Lines: 13 In article <1991Mar29.155840.2626@netcom.COM>, resnicks@netcom.COM (Steve Resnick) writes: > OS/2 will not let me clear interrupts while changing SS:SP. My question: > Is it necessary to disable interrupts while switching stacks in protected > mode? Unless you have a very early (buggy) 8088 chip (unlikely on OS/2) you don't need to disable interrupts anyway. I quote from the 80286 Programmer's Reference Manual: "Any move into SS will disable interrupts until after the execution of the next instruction". -------------------------+------------------------------------------------- Bob Eager | University of Kent at Canterbury | +44 227 764000 ext 7589 -------------------------+-------------------------------------------------