Quote:
Originally Posted by phx
I like doing strlen() with dbeq. It also takes advantage of the 68010 DBcc-cache.
Code:
moveq #-1,d0
.1: tst.b (a0)+
dbeq d0,.1
not.l d0
EDIT: Oh, just noticed a0 should not be modified. Nevermind.
|
Yes, my first thought was for
dbeq then i realized i had to keep a0