Auto boutiques-francophones Simple and secure cloud storage giftguide Cyber Monday Deals Week in Home & Kitchen All-New Kindle Paperwhite Music Deals Store SGG Home, Kitchen and Garden Gift Guide
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

46 customer reviews

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

Cyber Monday Deals Week in Books

No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your e-mail address or mobile phone number.

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 (46 customer reviews)
  • Amazon Bestsellers Rank: #707,113 in Books (See Top 100 in Books)
  •  Would you like to update product info, give feedback on images, or tell us about a lower price?

  • 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:

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.
Sorry, we failed to record your vote. Please try again.
Report abuse
1 of 1 people found the following review helpful By john on Aug. 4 2003
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.
Sorry, we failed to record your vote. Please try again.
Report abuse
Format: Paperback Verified Purchase
Simply the best introduction to fundamental computing from an electronics perspective to those without a formal Comp. Sci. degree there is in my opinion.
As a Perl programmer - and one could say any high level programming language - I am abstracted from the hardware so have no real idea of what goes on 'in the engine' compartment. True, a lot of the information is now historic and is utterly unnecessary to know in these days of virtualised cloud computing on demand with pay-per use billing....but for those interested it is an insight to that now passing (passed?) era of 'the Before Time'.
This book has a very smooth, swallow learning curve - more a 'learning line' - and goes from a simple on-off telegraph relay used as a transmission device all the way through how n-bit adders and '1s complement' is used to to interact with memory blocks to do subtraction through to their implications and use in assembly language with registers of modern processors.
The section on coding of language (Braille is used as an example) is also enlightening.
From the discussions I've had with others who have done formal Computer Science degrees (I haven't - yet) this book covers a sizable chunk of the fundamental computing topics.
After reading this book I will never look at a division operation in one of my programs in the same way again!
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again.
Report abuse
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.
Sorry, we failed to record your vote. Please try again.
Report abuse

Most recent customer reviews