论文部分内容阅读
徒弟:据悉,除了“二进制”、“二—十进制”(BCD)之外,还有“八进制”、“十六进制”,它们的最重要的用途是什么? 师傅:由于“八进制”数的基数8是2的三次幂(2~3),一位“八进制”数等效于三位二进制数(如八进制7等效于二进制111),而“十六进制”数的基数16是2的四次幂(2~4),每一位十六进制数等效于4位二进制数(如十六进制数7等效于二进制0111),所以从“八进制”、“十六进制”转换为等值的二进制数非常方便,特别是书写起来比起二进制简单多了。例如,某微处
Apprentice: It is learned that apart from “Binary” and “Decimal” (BCD), there are “Octal” and “Hexadecimal” which are their most important purposes? Master: Because of the number of “octal” Base 8 is the third power of 2 (2 ~ 3), one octal number is equivalent to a three-digit binary number (octal 7 is equivalent to binary 111), and the base 16 of the hexadecimal number is 2 (2 ~ 4), each hexadecimal number is equivalent to 4 binary number (such as hexadecimal number 7 is equivalent to binary 0111), so from the “octal”, “hexadecimal System ”is converted to the equivalent of a binary number is very convenient, in particular, easier to write than the binary. For example, somewhere