1-39The sections of this chapter that discussed octal and hex numbers both mentioned that their numbersystems were beneficial to programmers. You will see later in this section that octal and hex numbers areeasily converted to binary numbers and vice versa..If you are going to work with computers, there will be many times when it will be necessary toconvert decimal numbers to binary, octal, and hex numbers. You will also have to be able to convertbinary, octal, and hex numbers to decimal numbers. Converting each number system to each of the otherswill be explained. This will prepare you for converting from any base to any other base when needed.DECIMAL CONVERSIONSome computer systems have the capability to convert decimal numbers to binary numbers. They dothis by using additional circuitry. Many of these systems require that the decimal numbers be converted toanother form before entry.Decimal to BinaryConversion of a decimal number to any other base is accomplished by dividing the decimal numberby the radix of the system you are converting to. The following definitions identify the basic terms usedin division:DIVIDENDThe number to be dividedDIVISORThe number by which a dividend is dividedQUOTIENTThe number resulting from the division of one number by anotherREMAINDERThe final undivided part after division that is less or of a lower degree than thedivisorTo convert a base 10 whole number to its binary equivalent, first set up the problem for division:Step 1—Divide the base 10 number by the radix (2) of the binary system and extract the remainder(this becomes the binary number's LSD).Step 2—Continue the division by dividing the quotient of step 1 by the radix (2

Integrated Publishing, Inc.

6230 Stone Rd, Unit QPort Richey, FL34668

Phone For Parts Inquiries: (727) 493-0744
Google +