Electronics Tutorial for Beginners
ABC of Electronics Offering free comprehensive basic
electronics tutorial. In this Electronics Tutorial we
have explained the basic electronic concepts. Here you
can find 8051 Tutorials & 555 Timer Tutorials which are
commonly used in electronics.
Every effort is made
to keep the website up and running smoothly |
Hex Addition and Subtraction
Hex Addition
e.g we have a hex number 23D9 and we want to add it to
94BE.
23D9
+94BE
B897
because as above 9+E(14)=23
23-16=7 WITH CARRY
Now in next step , 1+D(13) + B(11)=25-16=9 WITH CARRY....
Next step, 3+4+1=8
Since there is no carry this time 9+2=11(B).
HEX Subtraction
Say we want to subtract 59F and 2B8
59F
2B8
2EF
because as above F(15)-8=7
9+16=25, Now 25 will be subtracted from B(14)=25-11=14(E)
with borrow from 5
4-2=2.
© Copyright 2008, ABC of Electronics. All Rights Reserved.
|