View Single Post
Old 06 February 2010, 22:23   #3
hitchhikr
Registered User
 
Join Date: Jun 2008
Location: somewhere else
Posts: 515
Code:
roxl.l  #1,dx >> addx.l dx,dx
Code:
GET_BIT     MACRO
    subq.b  #1,d5               ; D5 = bit counter
    bne.s   .still_bits_left\@
    moveq   #8,d5
    move.b  (a0)+,d3            ; Read next crunched byte
.still_bits_left\@
    add.b   d3,d3               ; D3.b << 1 (lsl.b #1,d3 รณ roxl.b #1,d3)
    ENDM
hitchhikr is offline  
 
Page generated in 0.04859 seconds with 11 queries