home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / pcmagazi / 1992 / 11 / labnotes / winprolo < prev   
Text File  |  1992-05-19  |  467b  |  11 lines

  1. WinProlog Macro
  2.         Push    DS     ;load AX into DS for non-exported use
  3.         Pop     AX     ;  (will be replaced by Mov AX,xxxx if
  4.         Nop            ;   exported from a DLL)
  5.         Inc     BP     ;increment BP for memory management
  6.         Push    BP     ;save BP
  7.         Mov     BP,SP  ;create stack frame for accessing parms
  8.         Push    DS     ;save old DS    
  9.         Mov     DS,AX  ;set DS to DLL's DGroup (from above)
  10. WinProlog EndM
  11.