Microcomputer Systems:Multiplication and Division of Floating Point Numbers

Multiplication and Division of Floating Point Numbers Multiplication and division of floating point numbers are rather easy. Here are the steps: • Add (or subtract) the exponents of the numbers. • Multiply (or divide) the mantissa of the numbers. • Correct the exponent. • Normalize the number. • The sign of the result is the […]
Continue reading…

 

Microcomputer Systems: Normalizing Floating Point Numbers and Converting a Decimal Number into Floating Point

Normalizing Floating Point Numbers Floating point numbers are usually shown in normalized form. A normalized number has only one digit before the decimal point (a hidden number 1 is assumed before the decimal point). To normalize a given floating point number, we have to move the decimal point repeatedly one digit to the left and […]
Continue reading…

 

Microcomputer Systems:Adding Binary Numbers and Subtracting Binary Numbers

Adding Binary Numbers The addition of binary numbers is similar to the addition of decimal numbers. Numbers in each column are added together with a possible carry from a previous column. The primitive addition operations are: Subtracting Binary Numbers To subtract one binary number from another, convert the number to be subtracted into negative and […]
Continue reading…

 

Microcomputer Systems:Converting Decimal Numbers into Octal and Converting Octal Numbers into Binary

Converting Decimal Numbers into Octal To convert a decimal number into octal, divide the number repeatedly by 8 and take the remainders. The first remainder is the LSD, and the last remainder is the MSD. Converting Octal Numbers into Binary To convert an octal number into binary, write the 3-bit binary equivalent of each octal […]
Continue reading…

 

Microcomputer Systems:Converting Hexadecimal Numbers into Binary and Converting Hexadecimal Numbers into Decimal

Converting Hexadecimal Numbers into Binary To convert a hexadecimal number into binary, write the 4-bit binary equivalent of each hexadecimal digit. Converting Hexadecimal Numbers into Decimal To convert a hexadecimal number into decimal, calculate the sum of the powers of 16 of the number.
Continue reading…

 

Microcomputer Systems:Converting Decimal Numbers into Hexadecimal and Converting Octal Numbers into Decimal

Converting Decimal Numbers into Hexadecimal To convert a decimal number into hexadecimal, divide the number repeatedly by 16 and take the remainders. The first remainder is the LSD, and the last remainder is the MSD. Converting Octal Numbers into Decimal To convert an octal number into decimal, calculate the sum of the powers of 8 […]
Continue reading…

 

Microcomputer Systems:Converting Decimal Numbers into Binary and Converting Binary Numbers into Hexadecimal

Converting Decimal Numbers into Binary To convert a decimal number into binary, divide the number repeatedly by 2 and take the remainders. The first remainder is the least significant digit (LSD), and the last remainder is the most significant digit (MSD). Converting Binary Numbers into Hexadecimal To convert a binary number into hexadecimal, arrange the […]
Continue reading…