What does the size of address bus affect ?

The size of the address bus affects the size of program memory.

How?

2^(size of address bus) = size of program memory

So, 16bit address bus means size of program memory is 2^16 i.e.,65535