> What commands can I use to do this? You can use this if you want to find if the outcome is negative...which will be the case if de was greater then hl: sbc hl,de bit 7,h jp nz,LESSTHENZERO ; HL<0 ; HL>=0 ------- NAME : Mikel Blanchard, President of Macross Software WEB : http://MacrossSoftware.home.ml.org/ EMAIL : cashonly@aol.com ICQ : 3033904 (CashOnly)