View Single Post
Old 23 December 2015, 09:49   #140
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,335
I forgot about this one...


You can replace :
Code:
 not.l d1              ; reverse mask
 and.l d1,d0           ; clear bits that were '1'
 not.l d1              ; restore mask
by :
Code:
 or.l d1,d0            ; set these bits to '1'
 eor.l d1,d0           ; then clear them
meynaf is offline  
 
Page generated in 0.04322 seconds with 10 queries