home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / utilities2 / desklib / Update204 / DeskLib / Libraries / WimpSWIs / s / Wimp40R < prev   
Encoding:
Text File  |  1993-07-22  |  439 b   |  19 lines

  1. ; Wimp_ReportErrorR
  2. ; - a version of Wimp_ReportError that actually returns the value (which
  3. ;   button was clicked) that the SWI call returns.
  4. ;   Jason Williams 1993
  5.  
  6.         GET     h.regdefs
  7.         GET     h.swinos
  8.         GET     h.macros
  9. ;
  10.         PREAMBLE
  11.         STARTCODE Wimp_ReportErrorR
  12. ;
  13.         STMFD   sp!, {lr}
  14.         SWI     SWI_Wimp_ReportError + XOS_Bit
  15.         MOV     a1, a2
  16.         LDMFD   sp!, {pc}^
  17. ;
  18.         END
  19.