Why does a 32-bit OS support 4 GB of RAM?

前端 未结 13 2094
不知归路
不知归路 2020-12-08 04:18

Just reading some notes in a purdue lecture about OSs, and it says:

A program sees memory as an array of bytes that goes from address 0 to 2^32-1 (0

13条回答
  •  半阙折子戏
    2020-12-08 05:07

    Because each byte of memory has to have an address. In a 32-bit operating system, an address is 32 bits long; thus, there are 2^32 possible addresses, which means there are 2^32 bytes = 4 GB.

提交回复
热议问题