18 Object-Oriented Programming

So far in this book, we have been using the procedural programming paradigm (see “Exploring Data Formats with C” on page 25). In this chapter, we’ll take an introductory look at how object-oriented programming is implemented at the assembly language level.

In object-oriented programming, an object has a set of attributes, the data items that define the state of the object. These attributes can be changed or queried by a set of methods that are part of the object. A software solution typically consists of constructing instances of objects and then programming the sending of messages to the objects, which use ...

Get Introduction to Computer Organization 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.