Won't the carry be set if you are subtracting too > If you are adding, the flag you are looking for is Carry. All adds on a > Z80 are 17 bits long (or 9 if you're doing an 8 bit add). Carry is the > highest bit.