TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: BARRY ERICK
date: 1998-03-31 05:47:00
subject: Re: Saving Si And Di?

From: "Barry Erick" 
Subject: Re: Saving Si And Di?
 
Your assembly routine may be altering the registers. Right from the manual,
in the Users Guide, under Saving Registers:
  'For external routines and ASM statements, you need to save the SI, DI,
BP, DS, SS and SP registers.
      -> If your routine doesn't change the registers, you don't have to
save them. However, most BIOS and DOS interrupts destroy most registers, so
it is better to be safe than sorry. '
 
 ---Barry
 
Matthaeus Stadler wrote in message
...
>Hallo All,
>
>Does anyone know why PB expects the registers SI and DI to be preserved
>at the execution of an assembler routine?
>
>Ciao,
>
>     Matthaeus
>
>--- GoldED/P32 2.42.G0214+
>
 
 
*** QwkNews (tm) v2.1
 * [TN71] Toast House Import
--- GEcho 1.20/Pro
---------------
> * Origin: EMail: MStadler@t-online.de (FidoNet 2:2476/161)
* Origin: Toast House Remote (1:100/561)

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™.