If I do "dec a" when a=1 will the zero flag be automatically set or do I need a "cp 0"? Also, all logical commands set/reset the zero flag right? (i.e. "and", "or", "xor") Will the zero flag be set when other registers are decremented to 0? (i.e. "dec bc" when bc=1). If so does this apply to the carry flag as well? Thanks a lot! -Tom