Code: The Hidden Language of Computer Hardware and Software and over one million other books are available for Amazon Kindle. Learn more
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Code Hardcover – Oct 23 1999

See all 4 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
"Please retry"
CDN$ 117.03 CDN$ 48.81

Summer Clearance on Books Books That Make You Think

Product Details

  • Hardcover: 393 pages
  • Publisher: Microsoft Press; 1 edition (Oct. 23 1999)
  • Language: English
  • ISBN-10: 073940752X
  • ISBN-13: 978-0735605053
  • ASIN: 073560505X
  • Product Dimensions: 16.1 x 3.5 x 24.3 cm
  • Shipping Weight: 839 g
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (42 customer reviews)
  • Amazon Bestsellers Rank: #579,076 in Books (See Top 100 in Books)
  • See Complete Table of Contents

Product Description

From Amazon

Charles Petzold's latest book, Code: The Hidden Language of Computer Hardware and Software, crosses over into general-interest nonfiction from his usual programming genre. It's a carefully written, carefully researched gem that will appeal to anyone who wants to understand computer technology at its essence. Readers learn about number systems (decimal, octal, binary, and all that) through Petzold's patient (and frequently entertaining) prose and then discover the logical systems that are used to process them. There's loads of historical information too. From Louis Braille's development of his eponymous raised-dot code to Intel Corporation's release of its early microprocessors, Petzold presents stories of people trying to communicate with (and by means of) mechanical and electrical devices. It's a fascinating progression of technologies, and Petzold presents a clear statement of how they fit together.

The real value of Code is in its explanation of technologies that have been obscured for years behind fancy user interfaces and programming environments, which, in the name of rapid application development, insulate the programmer from the machine. In a section on machine language, Petzold dissects the instruction sets of the genre-defining Intel 8080 and Motorola 6800 processors. He walks the reader through the process of performing various operations with each chip, explaining which opcodes poke which values into which registers along the way. Petzold knows that the hidden language of computers exhibits real beauty. In Code, he helps readers appreciate it. --David Wall

Topics covered: Mechanical and electrical representations of words and numbers, number systems, logic gates, performing mathematical operations with logic gates, microprocessors, machine code, memory and programming languages.

About the Author

Charles Petzold wrote the classic Programming Windows®, which is currently in its fifth edition and one of the best-known and widely used programming books of all time. He was honored in 1994 with the Windows Pioneer Award, presented by Microsoft® founder Bill Gates and Windows Magazine. He has been programming with Windows since first obtaining a beta Windows 1.0 SDK in the spring of 1985, and he wrote the very first magazine article on Windows programming in 1986. Charles is an MVP for Client Application Development and the author of several other books including Code: The Hidden Language of Computer Hardware and Software.

Inside This Book

(Learn More)
First Sentence
You're 10 years old. Read the first page
Explore More
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4.7 out of 5 stars
Share your thoughts with other customers

Most helpful customer reviews

3 of 3 people found the following review helpful By Boris S on July 25 2002
Format: Hardcover
The book starts out very solid, describing all the building blocks of a computer. The beginning is the best book I've seen so far describings everything from the binary system to electrical circuits, to gates to simple calculators, to memory, to a complete machine with a "control panel". But after that, the book started getting a LOT more broad (not necessarily a bad thing). It seems almost as if Petzold wanted to tell you everything about the world of computers, but couldn't fit it in a book such as this; so he dabbed a little here and there of a few terms, history, etc... (allowing you the option to look up anything you wanted if you had the interest).
My oppinion is that the book is _great_ up to about the middle of the book, after which he just condenced all the rest of the information which would otherwise takes thousands of pages to describe in as much details as he described how to build a physical logic machine... I think that if someone isn't a "techie" or isn't in the computer field, they may have some hard time understanding a few minor points... but overall, this is a GREAT book.. one of a kind.
Greatly recommended for everyone's library... I can honestly say, I always told people "a computer is nothing more than zero's and one's"... but until I read this book, I couldn't BUILD one... now I can (given time! :).
P.S. This book is perfect for those who didn't necessarily go to college and learned everything on their own... it covers some CS, CE, and EE. Those who went to college with either of those majors probably learned the greatest part of this book... but it's a great review.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
By Marc on Aug. 11 2010
Format: Paperback
That is what the title should have been. I feel like I've taken a course in Electrical Engineering. Not exactly what I was expecting but really fun and educational. He literally builds a computer from the ground up. He starts with a switch and a light bulb and by the end you have a computer. It is really that simple (but phenomenally complex!!!).

The author is just wonderful. He does seem to repeat himself a bit, and I did find myself skimming a couple pages after I understood something enough for my tastes, but that could be just me. His use of illustrations is just the best. Most authors get lazy and try to put everything in writing. This author tries to convey as much information in the diagrams as possible, but while still keeping them so clear. Extremely useful! Sometimes you can just look at the diagram and understand without even needing to read the text! An illiterate could almost come out knowing how a computer works.

The book is long and thorough. Be prepared to learn it all. But if you're the type that wants that understanding, you will get it. Everything is built on first principles so you will have a solid understanding. Every computer programmer should know this stuff.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
Yes, that's right! CODE is the greatest book on the face of the earth!
Why? Here's my story, and go judge for yourself.
I'm using computers for around four years. My question was always "How is this thing doing it's stuff?". Although I have no idea how other electronic stuff work, the computer did bothered me more then anything else because the computer seems to do some kind of THINKING, that's why it triggered my THINKING. This question kept on staying in my head until two weeks ago. It really bothered me. All along this four years I was looking for an answer to my question. I bought books, went to the library a thousand times, but nothing helped me. I learned a few programming languages along my journey, but it did not clarify how it really works. So I decided to learn Assembly Language because I taught that that's where I'm going to find the answer to my question. I must admit that it did helped me out quite a bit, but not to the extent I expected. I used a great book called "Assembly Language Step-by-Step" by Jeff Duntemann, which is a great book, but since the subject of the book is not to teach you how computers work, it didn't helped me enough to satisfy my desire for the answer to my question. I contacted Jeff Duntemann, the author of the book and I told him my problem. He referred me to this book CODE. So I rushed and bought this book. The rest of the story is self-understood, the book made my day and my life. And that's why I'm restating "This is the greatest book on the face of the earth".
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.
Format: Paperback
The critical thing to remember about "Code" is audience. This is a book targeted at a smart person who knows little about computers, and really wants to get a fundamental understanding. Those who are willing to dedicate time and some heavy brain power to it will get a lot out of it. Although well written, the tone is dry, and the concepts covered here are not lightweight. Essentially, Petzold covers a college-level course on computer logic and design, starting at ground level, and taking you through a lot of territory. For computer people, this a great book to give to someone else.
If you're a computer person, don't read this book. You won't be happy, because it's not meant for you, you've heard it all before, and you'll soon grow tired of it. If you've always wanted to explain the details of computers to some other person, then give them this book.
It's a little uneven at times, and the tone is dry. It may not hold the interest of any but the most dedicated reader. Occasionally, it seems like there was stuff that was neat, and Petzold really wanted it in the book, even though it doesn't really help make his point. I found the material on Morse code, Braille, UPC codes, and film cartridges interesting, but any one of these would have made his point. Similarly, his sudden dive into the history of computing is distracting - he hasn't really focused on the characters of computing in the 250 pages before this, and quickly sticking this in the middle doesn't help elucidate the concepts presented in "Code."
For someone who is interested in the details of computers, and willing to invest the time to learn them, this is an excellent book. Be prepared - there's a lot of detailed information here, but, if you get through it, you'll be rewarded with an in-depth understanding of computers and "Code."
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again.

Most recent customer reviews