home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / amiga / programm / 17466 < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.6 KB  |  47 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!mcsun!news.funet.fi!funic!nntp.hut.fi!nntp!jraja
  3. From: jraja@vipunen.hut.fi (Jarno Tapio Rajahalme)
  4. Subject: Re: RUN BYTE! RUN!
  5. In-Reply-To: pochanay@cae.wisc.edu's message of 15 Dec 92 21:33:59 CST
  6. Message-ID: <JRAJA.92Dec17102659@vipunen.hut.fi>
  7. Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
  8. Nntp-Posting-Host: vipunen.hut.fi
  9. Organization: Helsinki University of Technology, Finland
  10. References: <1992Dec15.213400.28437@doug.cae.wisc.edu>
  11. Date: 17 Dec 92 10:26:59
  12. Lines: 33
  13.  
  14. In article <1992Dec15.213400.28437@doug.cae.wisc.edu> pochanay@cae.wisc.edu (Adisak Pochanayon) writes:
  15.  
  16.         XDEF @UnPackByteRun
  17.    @UnPackByteRun:
  18.  
  19.          move.l    d2,-(SP)       ; Move #7F to d2 so that the and.w
  20.          move.b    #$7F,d2        ; instruction at the upb_copyit label
  21.          ^^^^^^^              ; will execute more quickly
  22.  
  23. this should be at least word size, or even better moveq.l could be used.
  24. Byte transfer only will trash the value of the counter in 'upb_copyit'.
  25.  
  26.          bra.s     upb_startit    ; Process First byte-tag
  27.  
  28.  
  29.    *********************************
  30.  
  31.    upb_copyit
  32.          and.w     d2,d0          ; Clear bit seven in d0
  33.          ^^^^^
  34.  
  35. This is the point of trouble if only 8 bits are loaded to d2.
  36.  
  37.  
  38.     Jarno
  39. -- 
  40. -----------------------------------------------------------------------------
  41. | Address: Jarno Rajahalme            | EMail:                              |
  42. |          Servin Maijan tie 12 H 111 |   Jarno.Rajahalme@hut.fi            |
  43. |          02150  ESPOO, FINLAND      | tel: +358 0 468 2891                |
  44. -----------------------------------------------------------------------------
  45.  
  46.  
  47.