Start reading Code: The Hidden Language of Computer Hardware and Software on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Image not available

Code: The Hidden Language of Computer Hardware and Software (Developer Best Practices) [Kindle Edition]

Charles Petzold
4.7 out of 5 stars  See all reviews (43 customer reviews)

Print List Price: £10.99
Kindle Price: £7.31 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £3.68 (33%)
* Unlike print books, digital books are subject to VAT.

Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

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


Amazon Price New from Used from
Kindle Edition £7.31  
Hardcover --  
Paperback £7.69  
Kindle Daily Deal
Kindle Daily Deal: Up to 70% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.

Book Description

What do flashlights, the British invasion, black cats, and seesaws have to do with computers? In CODE, they show us the ingenious ways we manipulate language and invent new means of communicating with each other. And through CODE, we see how this ingenuity and our very human compulsion to communicate have driven the technological innovations of the past two centuries.
Using everyday objects and familiar language systems such as Braille and Morse code, author Charles Petzold weaves an illuminating narrative for anyone who’s ever wondered about the secret inner life of computers and other smart machines.
It’s a cleverly illustrated and eminently comprehensible story—and along the way, you’ll discover you’ve gained a real context for understanding today’s world of PCs, digital media, and the Internet. No matter what your level of technical savvy, CODE will charm you—and perhaps even awaken the technophile within.

Product Description

Amazon Review

Crossing over into general-interest non-fiction from his popular programming manuals, Charles Petzold has written Code: The Hidden Language of Computer Hardware and Software. It's a carefully written, carefully researched gem that will appeal to anyone who wants to understand computer technology at its most essential levels. Readers learn about number systems(decimal, octal, binary and all that) through Petzold's patient (and frequently entertaining) prose, 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 the stories of people trying to find ways to communicate with (and by means of) mechanical and electrical devices. It's a fascinating progression of technologies and the author presents a clear statement of how they fit together.

The real value of Code is in its explanations of technologies that have been obscured for years behind fancy user interfaces and programming environments that, 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 Motorola6800 processors. He walks the reader through the process of performing various operations with each chip, explaining which op codes poke which values into which registers along the way. Petzold knows that the hidden language of computers exhibits real beauty. In Code, he helps his 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.

Product details

  • Format: Kindle Edition
  • File Size: 3803 KB
  • Print Length: 400 pages
  • Simultaneous Device Usage: Up to 5 simultaneous devices, per publisher limits
  • Publisher: Microsoft Press; 1 edition (11 Oct. 2000)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (43 customer reviews)
  • Amazon Bestsellers Rank: #81,334 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

More About the Author

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

Most Helpful Customer Reviews
13 of 13 people found the following review helpful
5.0 out of 5 stars A genuinely brilliant book 9 April 2007
Charles Petzold is an excellent writer, and he gets to grips with difficult material in a way that makes it accessible for the uninitiated. I have worked as a computer programmer for years, but, having grown up with 'high level' programming languages, most of the material here was new to me. The book will fill in some very important gaps for a lot of IT professionals. Meanwhile, it is perfectly readable for someone completely new to the subject (a couple of chapters will be tough going, but you'll get it if you persist).

Top marks.
Comment | 
Was this review helpful to you?
8 of 8 people found the following review helpful
By Mark Shackelford TOP 500 REVIEWER
Format:Paperback|Verified Purchase
As a software development manager, I employ many programmers (and other assorted life forms), and although they are (often) well versed in Object Oriented coding and High-Level languages, there is often a gap in their knowledge of the basics of computer science.
What are the constituent elements of a computer? How is a CPU put together? How do transistors work? How do you build a logic gate? What is electricity? What is Assembly Language and how does it compare to Machine Code?

Although you don't need to know the answers to these questions to be a good programmer - it is a bit like being a good car driver, but not really understanding how the internal combustion engine works - or how an automatic gearbox works... I think it is useful to understand the basics of the beast you are using - it at least makes you understand some of the potential foibles!

I thoroughly recommend this book to all IT professionals.

It starts with very very simple ideas - how to pass messages when you have only got an On/Off switch.
This then builds up through telephone relays, Morse Code, electricity to build simple logic gates... all the way to building a PC

Well written, with each topic explained elegantly and simply, this is a wonderful book that explains the fundamentals of computing. I started in IT (back in the 1970's) writing Assembler code for numeric controlled machines - so some of this was nostalgic history.
It is not quite up to date (still talking about floppy discs) - but for a comprehensive overview of the design and development of computers - this is excellent.
Comment | 
Was this review helpful to you?
10 of 10 people found the following review helpful
5.0 out of 5 stars Excellent exposition of an interesting subject 10 Feb. 2000
By A Customer
Petzold explains the architecture of computing systems by deriving from first principles, as it were; starting off with simple concepts such as telegraph relays and morse code, he quickly uses simple building blocks to describe more advanced concepts. The author has clearly written this book at his leisure rather than to a deadline, and the relaxed tone of the book makes for an entertaining read, given the potentially dry subject matter. The author's enthusiasm for his topic comes across well and the use of two colours throughout the book assists understanding. This book would make excellent background reading for many CompSci or Electronics courses, or a great present for someone with any interest in technology. Recommended.
Comment | 
Was this review helpful to you?
17 of 18 people found the following review helpful
5.0 out of 5 stars how a computer REALLY works 25 April 2002
By ian
This is the only book I've found which REALLY tells the story of how computers work in a simple and easy to read form. That's not to say that anything has been watered down - this is the real stuff, and occasionally it gets a little heavy, but it fills in a much needed gap. Most books either cover digital electronics, or computer architecture, and few explain the leap that you need to make to get from one to the other.
On the negative side, the machine design is a little dated, and a register transfer architecture might have worked better.
The sections on operating systems are simply not up to the standard of the rest of the book, but the book is work it for the rest anyway.
Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
5.0 out of 5 stars Easy to read informative book 25 April 2011
By robing
It is rare that you will find a book with such a volume of information and in such an easy to read format. You don't even notice how much technical information you are taking in; it is like reading a good novel. It contains some very good analogies and make things easy to understand.

The only one small bad point is that it is a small bit dated. However don't let this put you off as there are very few parts where you will notice this.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
4.0 out of 5 stars A must read for techno nostalgia 13 Jan. 2000
By A Customer
This is a well written and entertaining read covering the evolution of modern day hardware and software. The historical perspective is good, and the text is peppered with many interesting and humorous anecdotes. The last couple of chapters covering modern Programming Languages and Operating Systems however are much too rushed and cramped.
Comment | 
Was this review helpful to you?
By Labern
Format:Paperback|Verified Purchase
This is an exceptional book. Petzold's writing style and passion, combined with his intelligence and ambition to create a truly profound work, make this one of the finest books I have ever come across. I bought this looking for a greater understanding of programming concepts with the hope that I would better understand the internal processes of computers. What I actually received was a logical and scientific explanation of why computers are the way they are based on the human need to communicate using codes.

As an example of this book's greatness, it introduces the concept of binary mathematics through simple, intuitive examples (e.g. trying to communicate with someone in the dark using a torch). By the end of the first chapter you feel as though you understand the base-2 system—not as some kind of arbitrary standard chosen by figures from the past, but because of the immense power available from just two states (on/off, etc.). Petzold explains the logic behind Morse code and Braille, before one of the best introductions to basic physics I have ever read.

The greatest pleasure of this book, I think, is that after each chapter you never know whether you're going to learn about hardware or software—and that leads to the kind of excitement that can only be generated by a truly wonderful teacher. It is no exaggeration to say that this book is a masterpiece, and you should pick it up whether you're interested in understanding the inner workings of the technology inside the tools you use every day, or whether you want to continue your scientific education.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Most Recent Customer Reviews
5.0 out of 5 stars Great book if your new to the topic or not.
Great book easy to follow on with but still gives in depth knowledge. Answers the questions in your head and uses very handy diagrams.
Published 1 month ago by mitch
5.0 out of 5 stars Five Stars
Excellent explanation on how the physical layer connects with software.
Published 1 month ago by M. Nobis
5.0 out of 5 stars The only book on digital that didn't bore me to death
I am a first year electronics student and my dad found this in a charity shop and read it himself then gave it to me. Read more
Published 2 months ago by jamo
5.0 out of 5 stars Fine book/
Satisfied all of my requirements.
Published 2 months ago by spn
5.0 out of 5 stars Five Stars
Excellent book for those who wish to understand how electronics work. Recommended for those who love math and gadgets
Published 4 months ago by Ray
5.0 out of 5 stars Five Stars
Really interesting book, makes a lot of connections that I didn't fully grasp.
Published 5 months ago by Deprecated Pleb
4.0 out of 5 stars Four Stars
Excellent delivery on every level , love the book
Published 6 months ago by Mr. Philip Cartner
5.0 out of 5 stars Really easy to understand
Really easy to understand, an awesome book for someone to read who wants to know more about the hidden sides to computers
Published 6 months ago by Adam B
5.0 out of 5 stars This is a great informative read
This is a great informative read. You don't need to know any CS theory to understand the concepts laid out due to great writing and explanation. Read more
Published 7 months ago by Anthony
4.0 out of 5 stars Four Stars
Published 7 months ago by LM Whitaker
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category