How do you add two hex numbers a23b and fe34 without converting to decimal form?

Expert Answers

An illustration of the letter 'A' in a speech bubbles

In the addition of two decimal numbers the corresponding digits of the numbers from the right are added to each other. If the sum is greater than 9, the digit at the right is kept and the other is carried over to the be added with the subsequent digits to the left. In the decimal system the digits that numbers are made of are 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. In hexadecimal numbers, as the base is 16, there are an additional 6 digits represented by A, B, C, D, E and F.

To following steps are used to add A23B and FE34.

Take the first digit starting from the right, B and 4. Adding the two gives 11 + 4 = 15 = F. There is no carry here.

Moving to the next set of digits, 3 and 3, the sum is 6. Again, there is no carry.

Moving ahead, E + 2 = 16 = 10. Here, the 1 is carried over.

Finally, add A, F and 1. The result is 10 + 15 + 1 = 26 = 1A.

The sum of A23B and FE34 is 1A06F

Approved by eNotes Editorial Team