An Under the Hood Look at Hardware and x86-64 Assembly
Robert G. Plantz

#Computer
#CPU
#Assembly
#x86
#x64
#hardware
#software
#Algebra
This hands-on tutorial is a broad examination of how a modern computer works. Classroom tested for over a decade, it gives readers a firm understanding of how computers do what they do, covering essentials like data storage, logic gates and transistors, data types, the CPU, assembly, and machine code.
Introduction to Computer Organization gives programmers a practical understanding of what happens in a computer when you execute your code. You may never have to write x86-64 assembly language or design hardware yourself, but knowing how the hardware and software works will give you greater control and confidence over your coding decisions. We start with high level fundamental concepts like memory organization, binary logic, and data types and then explore how they are implemented at the assembly language level.
The goal isn’t to make you an assembly programmer, but to help you comprehend what happens behind the scenes between running your program and seeing “Hello World” displayed on the screen. Classroom-tested for over a decade, this book will demystify topics like:
Contents
Chapter 1: Setting the Stage
Chapter 2: Data Storage Formats
Chapter 3: Computer Arithmetic
Chapter 4: Boolean Algebra
Chapter 5: Logic Gates
Chapter 6: Combinational Logic Circuits
Chapter 7: Sequential Logic Circuits
Chapter 8: Memory
Chapter 9: Central Processing Unit
Chapter 10: Programming in Assembly Language
Chapter 11: Inside the main Function
Chapter 12: Instruction Details
Chapter 13: Control f low Constructs
Chapter 14: Inside Subfunctions
Chapter 15: Special Uses of Subfunctions
Chapter 16: Computing with Bitwise Logic, Multiplication, and Division Instruct ions
Chapter 17: Data Structures
Chapter 18: Object-Oriented Programming
Chapter 19: Fractional Numbers
Chapter 20: Input/Output
Chapter 21: Interrupts and Exceptions
Author Robert Plantz takes a practical approach to the material, providing examples and exercises on every page, without sacrificing technical details. Learning how to think like a computer will help you write better programs, in any language, even if you never look at another line of assembly code again.
Bob Plantz was a professor at Sonoma State for 21 years, teaching a variety of core computing classes. He started his career designing electronics for the horizon scanners on the Gemini spacecraft and Apollo Lunar Module. After that, he got his PhD in electrical engineering at UC Berkeley, and went on to work as a software engineer for eight years before becoming an educator.









