© Giuseppe Di Cataldo 2016

Giuseppe Di Cataldo, Stack Frames, 10.1007/978-1-4842-2181-5_3

3. Base 2, 8, and 16 Notations

Giuseppe Di Cataldo

(1)Catania, Italy

On the subject of numerical representations—notations —we just need to review some basic information before continuing; this chapter is a brief summary of the most important concepts about binary, octal, hexadecimal notations. In the next two chapters we’ll find hexadecimal constants inside assembler code and memory dumps, so it’s useful to remind ourselves what binary and hex numbers are, as well as how to read and convert them.

Following the overall practical approach to the topics covered by this book, it will be useful to see some numerical examples, instead of just reviewing theory. This ...

Get Stack Frames: A Look From Inside now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.