delorie.com/archives/browse.cgi | search |
From: | Michael Flegel <FLEGEL AT physnet DOT uni-hamburg DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | automatic register save on asm call? |
Date: | Tue, 27 May 1997 10:22:02 +0000 |
Organization: | University of Hamburg -- Germany |
Lines: | 25 |
Message-ID: | <Pine.VMS.3.91-b11-vms.970527101746.3364C-100000@sat111.physnet.uni-hamburg.de> |
NNTP-Posting-Host: | sat111.physnet.uni-hamburg.de |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Hi Y'all! I'm currently writing stuff in DJGPP/NASM. I need to know whether there is anyway that DJGPP can push the registers it needs onto the stack. I don't want to do a pushad/pusha or whatever in every on of my assembler routines - especially the time-critical ones. I'd rathjer have DJGPP take care of the registers it needs. So (this might sound kinda stupid) is there a directive that tells djgpp to store its registers or can I tell djgpp what registers are modified so that it will store those that are relevent to the surrounding code? If what I just wrote is at all clear to anyone, I'd really appreciate an email. Thanx in advance. MLF/SLi ;----------------------------------------------------------------------------; ; Michael Lamar Flegel ; Student of Math and Physics in Hamburg, Germany ; ; Am Ehrenmal 2 ;---------------------------------------------------; ; 21516 Schulendorf ; www.physnet.uni-hamburg.de/home/vms/flegel ; ; Germany ; flegel AT physnet DOT uni-hamburg DOT de ; ;----------------------------------------------------------------------------;
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |