Skip to main content

How memory works

Imagine you go to a show and need to check your things. A chest of drawers is available.

A set of drawers

Each drawer can hold one element. You want to store two things, so you ask for two drawer.

Two single drawers

And you’re ready for the show! This is basically how your computer’s memory works. Your computer looks like a giant set of drawers, and each drawer has an address.

Memory chip representation

A memory chip is a very simple circuit it is comprised of a very large typically very large number of certain units which we’re going to call “addressable units”

This addressable units have certain number of bits inside and is where the information is stored.

Why do we call this units addressable? We call this is because each of them have an address witch start from zero to size — 1.

Each time you want to store an item in memory, you ask the computer for some space, and it gives you an address where you can store your item.