Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!apple!voder!kontron!optilink!cramer
From: cramer@optilink.UUCP (Clayton Cramer)
Newsgroups: comp.lang.c
Subject: Re: How to return from MS C function (as if from interupt)
Message-ID: <511@optilink.UUCP>
Date: 27 Sep 88 23:48:51 GMT
References: <16166@shemp.CS.UCLA.EDU>
Organization: Optilink Corporation, Petaluma, CA
Lines: 16

In article <16166@shemp.CS.UCLA.EDU>, todd@SEAS.UCLA.EDU writes:
> 
> How can I design an MS C function with extra function entry and exit
> code so that the 8086/8088 registers are preserved unpon entry and
> restored on exit?  Are there any other considerations?  In Turbo-C, I
> just use the "interrupt" function modifier.  For example:
> 
> thx, --todd booth / ucla data communications

MSC 5.x has the "interrupt" keyword -- I've written ISRs that use it,
in C, so I know it works.


-- 
Clayton E. Cramer
..!ames!pyramid!kontron!optilin!cramer