It depends on exactly what you're doing. See the User's Guide, chapter 15
- Assembly Language, "Saving registers" section (p.235 in my book).
------------------
Tom Hanlin
PowerBASIC Staff
Announcement
Collapse
No announcement yet.
What's The Bottom Line With ! push?
Collapse
X
-
Guest repliedES, SI, DI, if you use them.
------------------
Leave a comment:
-
What's The Bottom Line With ! push?
I have noticed in some of the sample source code that comes
standard with PB/DOS 3.5 that in the ASM functions the code only
PUSH's/POP's DS. On the other hand, the written manual says quite
plainly that there are other registers that need to be saved/restored.
Which one is it? I am talking about ASM code in functions/subs
within UNITs.
Thank you for any replies.
------------------
Tags: None
Leave a comment: