Thread: Bitfields BFFFO
View Single Post
Old 21 November 2015, 13:54   #2
flype
Registered User

flype's Avatar
 
Join Date: Dec 2014
Location: France
Posts: 66
other test :

here all BFFFO results (D4) are not the ones i can see on my 1200 (D3).

Code:
    MACHINE MC68030

Start:
    lea     values,a0
Loop:
    move.l  (a0)+,d0
    beq     Exit
    move.l  (a0)+,d1
    move.l  (a0)+,d2
    move.l  (a0)+,d3
    bfffo   d0{d1:d2},d4
    bra     Loop
Exit:
    stop    #-1

values:
    ;              d0, d1, d2,   d3
    dc.l    $1badcafe,$ff,$ff,$0103 ; uae : d4=$0023
    dc.l    $1badcafe,$7f,$7f,$0083 ; uae : d4=$0023
    dc.l    $1badcafe,$20,$20,$0023 ; uae : d4=$0003
    dc.l    $1badcafe,$20,$03,$0023 ; uae : d4=$0003
    dc.l    $1badcafe,$20,$02,$0022 ; uae : d4=$0002
    dc.l    $1badcafe,$20,$01,$0021 ; uae : d4=$0001
    dc.l    0
flype is offline  
 
Page generated in 0.07872 seconds with 9 queries