In a message dated 97-07-03 15:42:06 EDT, you write: << ; value of A register is 255 xor 255 ; now A is 0 or A ; update flags - Zero SHOULD be set jr z, LoopNoDraw ; Relative jump to label LoopNoDraw since Zero ; Flag is set >> A sure fire way of clearing a is to do this: xor a. That will clear it. (I think it might have to be xor 256) -Brett Brett CGI@aol.com