Zero flag

from Wikipedia, the free encyclopedia

The zero flag or zero bit (English Zero Flag ) is one of the flags in the status register of many arithmetic units , including those of the x86 processors . It indicates whether the result of an operation was 0.

This special case as the result of a calculation is particularly important for checking loop conditions and other conditional jumps. Due to their frequent occurrence, these must be able to take place particularly efficiently. This check can be carried out with minimal effort using the zero bit.

Individual proof

  1. Intel® 64 and IA-32 Architectures Software Developer's Manual. (pdf; 15.4 MB) Combined Volumes: 1, 2A, 2B, 2C, 3A, 3B, and 3C. Intel, January 2013, p. 71 , accessed March 20, 2013 .