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

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

    1. 32bits can represent numbers 0..2^32 = 0..4,294,967,296
    2. 32bits can address up to 2^32Bytes (assuming Byte-size blocks)
    3. 2^32Bytes is the max size

    2^32B = 4,194,304KiB = 4,194MiB = 4GiB

提交回复
热议问题