home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / wackytalky_2 / Developer / Examples / 1st_Look / WithLIB / PrivateMsg < prev    next >
Encoding:
Text File  |  1992-03-25  |  852 b   |  21 lines

  1. ;===================================================================
  2. ;===================  Private Msg handler  =========================
  3. ;
  4. ; Note; remember to set the Private message word in 'base!'
  5. ____________________________________________________________________
  6. .WT_PrivateMsg_Handler%
  7.  
  8.                add 15,15,11,lsl#2      ; R11 will be filtered with the
  9.                mov 0,0                 ; Private message word, so no
  10.                                        ; need for checking
  11.                b   first_message  ; 0
  12.              ; b   second_message ; 1
  13.              ; b   third_message  ; 2
  14.              ;....
  15.              ; b   256th_message  ; 255
  16. ____________________________________________________________________
  17. .first_message push 0-8,14
  18.  
  19.                pop^
  20. ____________________________________________________________________
  21.