home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 4 / CDPD_IV.bin / utilities / cli / mousetest / testlmb.asm < prev    next >
Encoding:
Assembly Source File  |  1994-06-24  |  201 b   |  13 lines

  1. ;      TestLMB by Ed Mackey
  2.  
  3. ;      Returns WARN if LMB is pressed.
  4.  
  5.        moveq   #0,d0
  6.        move.b  $BFE001,d1
  7.        btst    #6,d1
  8.        bne     nope
  9.        moveq   #5,d0
  10. nope:  rts
  11.  
  12.        END
  13.