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

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