home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROSdev.lha / AROS / config / dummy / setsr.c < prev    next >
Encoding:
Text File  |  1997-01-15  |  745 b   |  47 lines

  1. /******************************************************************************
  2. |
  3. |   NAME
  4. |
  5. |    __AROS_LH2(ULONG, SetSR,
  6. |
  7. |   SYNOPSIS
  8. |    __AROS_LA(ULONG, newSR, D0),
  9. |    __AROS_LA(ULONG, mask,  D1),
  10. |
  11. |   LOCATION
  12. |    struct ExecBase *, SysBase, 24, Exec)
  13. |
  14. |   FUNCTION
  15. |    Read/Modify the CPU status register in an easy way. Only the bits set in
  16. |    the mask parameter will be changed.
  17. |
  18. |   INPUTS
  19. |    newSR - New contents of sr.
  20. |    mask  - Bits to change.
  21. |
  22. |   RESULT
  23. |    Old contents of sr.
  24. |
  25. |   NOTES
  26. |
  27. |   EXAMPLE
  28. |
  29. |   BUGS
  30. |
  31. |   SEE ALSO
  32. |
  33. |   INTERNALS
  34. |
  35. |   HISTORY
  36. |
  37. ******************************************************************************/
  38.  
  39.     .text
  40.     .align    16
  41.     .globl    Exec_SetSR
  42.     .type    Exec_SetSR,@function
  43. Exec_SetSR:
  44.     /* Dummy */
  45.     ret
  46.  
  47.