How to return from MS C function (as if from interupt)

Clayton Cramer cramer at optilink.UUCP
Wed Sep 28 09:48:51 AEST 1988


In article <16166 at shemp.CS.UCLA.EDU>, todd at 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



More information about the Comp.lang.c mailing list