Thread: Ambermoon
View Single Post
Old 14 July 2009, 23:12   #222
st-th
Bad Taste Development
st-th's Avatar
 
Join Date: Jul 2008
Location: Bonn / Germany
Age: 46
Posts: 48
Quote:
Originally Posted by StingRay View Post
Check Motorola docs! 'nuff said!
I thought exactly the same, StingRay, but Don_Adan is actually right after all. Sorry, Don!

I've made a few tests first and "btst d0,#value" worked reliably for bit numbers 0-7 in d0 and values up to 255.

Then I checked my M68000 programmer's manual (downloaded from Freescale some time ago), and "btst dn,#data" is indeed listed as valid for the "btst dn,ea" form.

I guess you can always learn something new...
st-th is offline  
 
Page generated in 0.07045 seconds with 9 queries