home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 1 / LSD Compendium Deluxe 1.iso / a / programming / assembly / talinasm.lha / setrect.asm < prev    next >
Encoding:
Assembly Source File  |  1992-03-19  |  480 b   |  21 lines

  1. * ============================================================================ *
  2. *    SetRect: setup an IBox structure
  3. *
  4. *    struct IBox *NormalizeRect(struct IBox *b, WORD top, WORD left, WORD w, WORD h);
  5. *
  6. * ============================================================================ *
  7.  
  8.             include        'intuition/intuition.i'
  9.  
  10.             SECTION        setrect.asm,CODE
  11.  
  12.             xdef        _SetRect
  13. _SetRect
  14.             move.l        4(sp),a0
  15.             move.l        8(sp),(a0)
  16.             move.l        12(sp),4(a0)
  17.             move.l        a0,d0
  18.             rts
  19.             
  20.             end
  21.