home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / DEV / PCMCIA / SOCKET / SSMAC.INC < prev    next >
Text File  |  1995-04-14  |  2KB  |  51 lines

  1. ;*DDK*************************************************************************/
  2. ;
  3. ; COPYRIGHT (C) Award Software International Inc., 1994
  4. ; COPYRIGHT    Copyright (C) 1995 IBM Corporation
  5. ;
  6. ;    The following IBM OS/2 WARP source code is provided to you solely for
  7. ;    the purpose of assisting you in your development of OS/2 WARP device
  8. ;    drivers. You may use this code in accordance with the IBM License
  9. ;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
  10. ;    Copyright statement may not be removed.;
  11. ;*****************************************************************************/
  12. ;******************************************************************************
  13. ;*
  14. ;*                              File SSMAC.INC
  15. ;*
  16. ;*                                 Macro's
  17. ;*
  18. ;*
  19. ;*
  20. ;******************************************************************************
  21.  
  22. ifndef   __SSMAC_INC_
  23. __SSMAC_INC_    equ     1
  24. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  25. ;                                  PUSHX/POPX
  26. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  27.  
  28. pushx   macro   regs                        ;; Push group
  29.         irp     r,<regs>
  30.         push    r
  31.         ENDM
  32.         ENDM
  33.  
  34. popx    macro   regs                        ;; Pop group
  35.         irp     r,<regs>
  36.         pop     r
  37.         ENDM
  38.         ENDM
  39. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  40. ;                                  staticFP
  41. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  42. ifndef staticFP
  43. staticFP        MACRO   Name
  44. Name            label   DWORD
  45. Off_&Name       dw      ?
  46. Seg_&Name       dw      ?
  47.                 endm
  48. endif                                       ; ifndef staticFP
  49.  
  50. endif                                       ; ifndef   __SSMAC_INC_
  51.