Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!aplcen!uakari.primate.wisc.edu!caesar.cs.montana.edu!ogicse!littlei!guardian!peter From: peter@guardian.UUCP (peter) Newsgroups: comp.realtime Subject: Re: Language constructs for interrupt facility Message-ID: <332@guardian.UUCP> Date: 15 Dec 89 17:36:03 GMT References: <29160@shemp.CS.UCLA.EDU> <961@abvax.UUCP> <836@trlluna.trl.oz> Reply-To: Peter Plamondon@.UUCP (Peter Plamondon @langlab1) Organization: Intel Development Tools Operation, Hillsboro OR Lines: 20 In article <29160@shemp.CS.UCLA.EDU> cshen@maui.cs.ucla.edu (Chien Chung Shen) writes: >I am interested in language constructs for interrupt facility. >Ada has "address clauses" and entry calls. Are there any other >languages which support interrupt facility and how are they >implemented? Any direction is appreciated. Intel's PL/M and C compilers allow you to identify procedures as interrupt handlers, using PROCEDURE INTERRUPT and #pragma interrupt, respectively. For the 8086/80186 et al, the interrupt handler is associated with a particular interrupt level. For the 80286 and above, the system builder (e.g., Intel's BLD386) must make this association by setting up an appropriate entry in the interrupt descriptor table (IDT). ------------------------------------------------------------------------------- Peter Plamondon, Intel Corp, 5200 NE Elam Young Pkwy, Hillsboro, OR 97124-6497 Internet: peter@langlab1.hf.intel.com +1 503-696-5219 UUNET : uunet!intelhf!langlab1!peter "I speak for myself, as best I can." UUCP : tektronix!psueea!foobar!langlab1.hf.intel.com!peter -------------------------------------------------------------------------------