View Single Post
Old 09 August 2016, 23:20   #39
Mrs Beanbag
Glastonbridge Software
 
Mrs Beanbag's Avatar
 
Join Date: Jan 2012
Location: Edinburgh/Scotland
Posts: 2,243
andi.l #$ff,Dn can be used to extend an unsigned byte to longword size. then again a special instruction for that could be better. ori.l #data.w,Dn, on the other hand, would be perfectly pointless.

add/sub.l #data.w,Dn would be very useful, however. I often need to do this.
Mrs Beanbag is offline  
 
Page generated in 0.04344 seconds with 11 queries