can anyone give me some z80 asm for getting the integer division of a deivided by 6??? quick, hackiest thing you can think of. im stumped. there should be a way to do this, but i cant find it. the only way i can think of would be to take a-6 and inc until a-6<0, then dont inc and you are done. this would suck bad, but i may have to use it.