Announcement

Collapse
No announcement yet.

What's The Bottom Line With ! push?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

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


    ------------------

  • #2
    ES, SI, DI, if you use them.


    ------------------

    Comment


    • #3
      Thanks, Jose.


      ------------------

      Comment


      • #4
        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

        Comment

        Working...
        X