feldy@CS.UCLA.EDU (03/20/87)
I'm writing an interrupt routine on PC-AT and I want to call a C function from the assembler code. Does anyone have some "canned" code to set up the stack and other pointers before calling the C routine? My current attempt calls the C routine and then fails with a stack overflow. I'm using Microsoft Assembler and IBM C version 1.0. This version of C is roughly Microsoft C version 3.0 with "enhancements". Thanks in advance. Bob Felderman 3732L Boelter Hall feldy@ats.ucla.edu University of California ...!{trwspp,sdcrdcf,ihnp4,ucbvax}!ucla-cs!feldy Los Angeles, CA 90024 (213) 825-2841