TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: RANDHIR DUGAL
from: HUGH NOLAND
date: 1997-08-18 12:49:00
subject: C calling procs.

RD> Hi - does C push and pop  the bp and es regs when I'm linking an
RD> assembly procedure ?  ( I guess this is more assembly specific, than C,
RD> and so this conference ) Thanks
 
   Your procedure has to push and pop the BP register if it alters it; and
   if your calling program uses index variables, then your procedure must
   also be sure to preserve the SI and DI registers.  I'm not sure about
   ES.
--- Maximus/2 3.01
---------------
* Origin: Madman BBS * Chico, California * 916-893-8079 * (1:119/88)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.