O'Reilly logo

Windows Debugging: Practical Foundations by Dmitry Vostokov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. Memory, Registers and Simple Arithmetic

Memory and Registers inside an Idealized Computer

Computer memory consists of a sequence of memory cells and each cell has a unique address (location). Every cell contains a "number". We refer to these "numbers" as contents at addresses (locations). Memory access is slower than arithmetic instructions and to improve this there are so called registers to speed up complex operations that require memory to store temporary results. We can also think about them as standalone memory cells. The name of a register is its address.

Picture 1.1

Figure 1.1. Picture 1.1

Memory and Registers inside Intel 32-bit PC

Here addresses ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required