Книга: Introduction to Microprocessors and Microcontrollers
Confusion and the cure
Confusion and the cure
Here is a number: 1000. But what number is it? Is it a thousand in denary or is it eight written in binary?
I don’t know. I could take a guess but the difference between flying an aircraft at eight feet and a thousand feet is a serious matter. The only way to be certain is to say so at the time. This is done by showing the base of the number system being used to make the meaning quite clear. The base of the number system is shown as a subscript after the number.
If the 1000 were a binary number, it is written as 10002 and if it were a denary number it would be shown as 100010.
It would be easy to advise that the base of the number system in use is always shown against every number but this would be totally unrealistic. No one is going to write a base after their telephone number or a price in a shop. Use a base when it would be useful to avoid confusion, such as by writing statements like 1000 = 8 (a thousand = eight???). Write it as 10002 = 810 and make life a little easier.
- The noise problem
- A complete cure for electrical noise
- Thermal noise
- Partition noise
- How much noise can we put up with?
- Using just two digits
- How do we count?
- The basic basis of bases
- Counting with only two figures
- Confusion and the cure
- Converting denary to binary
- Converting binary to denary
- Bits, bytes and other things
- Quiz time 2
- Разработка приложений баз данных InterBase на Borland Delphi
- 4.4.4 The Dispatcher
- Open Source Insight and Discussion
- Introduction to Microprocessors and Microcontrollers
- About the author
- Chapter 6. Traversing of tables and chains
- Chapter 7. The state machine
- Chapter 8. Saving and restoring large rule-sets
- Chapter 11. Iptables targets and jumps
- Chapter 5 Installing and Configuring VirtualCenter 2.0
- Chapter 16. Commercial products based on Linux, iptables and netfilter
- Appendix A. Detailed explanations of special commands