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

前端 未结 13 2070
不知归路
不知归路 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:08

    2 ^ 32 = 4 * 1024 * 1024 * 1024
    

    That, in bytes, is the definition of 4 GB. In other words a 32-bit register as a memory pointer can address 4 GB of memory and no more.

提交回复
热议问题