ld b,44d loop: ld a,b ;Put 44(d=decimcal) into acc. or 0C0h ;Bit mask. call _lcd_busy out (LCDINSTPORT),a ;make the contrast 44d (about half way) inc b cp 63 jp nz,loop This came off the top of my head...it may not be right :) James.