1 minute: How computer share memory

Dave Ng
Jul 14, 2023

--

Nowadays a computer can run multiples program. Where, last time, I mentioned a computer will run everything through the CPU.

But how can a CPU take data? It will take it from Memory, or RAM. RAM basically is a stack — a common data structure.

So how can a RAM share its memory? Well, it is just like slicing a cake, we will slice a stack into multiple paths. And what we need is just a place to cut and its length. Which transform to technical terms is base and limit registers.

The CPU then checks user reference (we will talk later), ensuring its fall between base and limit registers

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response