Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there any difference..

Status
Not open for further replies.

Nerdie1234

Programmer
Nov 3, 2005
6
AU
between doing:

ldaa #$02
staa TMSK2,X

and

bclr TMSK2,X $01
bset TMSK2,X $02

(IX = $1000, TMSK2 = $24)

?

Thanks!
 
2nd Code is larger?

Have you got the bit numbering right in the 2nd example?

0x24 == 0010 0100

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top