I2C address computation
The high value bits are transmitted before the low value bits.  That is, address bits A7 to A3 are transmitted, then A2 followed by A1 then a final 0 for A0.

The chip thus has 5 bits during which it can observe the transitions on the SDA and SCL lines to see which one is connected to the AD line.