Thread: Ambermoon
View Single Post
Old 14 July 2009, 14:16   #214
st-th
Bad Taste Development
st-th's Avatar
 
Join Date: Jul 2008
Location: Bonn / Germany
Age: 46
Posts: 48
Quote:
Originally Posted by Don_Adan View Post
For destination too.
No. Immidiate is only valid for source, check any official 680x0 reference.

Quote:
Originally Posted by Don_Adan View Post
Because I checked (in one command) if D0 bits are 1/2 (for right channel) or D0 is 0/3 (for left channel). I don't want to check 6 bit in D0.
Okay, so why not use something like:
Code:
                ; bits 0-3 of d0 contain
                ; the audio channel bits
                andi.b #2+4,d0
                bne.b right_channel
left_channel:   ...
st-th is offline  
 
Page generated in 0.08859 seconds with 9 queries