Relationship of memory capacity to the address bus
Assume the main memory contains M addresses in a computer system (the memory addresses are represented as unsigned binary numbers starting from zero). Inside the memory, a decoder is used to enable one out of M addresses to perform memory reading/writing operation. In this discuss, please specify the required number of lines of address bus (one line can only transfer one address bit). You need to explain your conclusion.
Feel free to embed photos or drawings that help illustrate you or your answers! If you have doubts about how to embed images in your discussions