>So, if i do : > ld b,-1 >loop: > ... > djnz loop >The loop will be done 255 times ? >(because %11111111 <=> -1 or 255) Yes. And if you load 0 in B, the loop will be done 256 times. -Cheiz _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com