Thanks man! Helped me with some revision for an assessment i have coming up. It may seem like a simple thing but you'd be surprised how many people in an advanced software development class can't add or subtract in hex! haha thanks!
haha you have saved my life I dont know why I had a hard time trying to add x04D + x074 by converting them in the 4-bit binary form and adding them individually it was a PAIN maybe I did it wrong but never got the right answer haha so I googled for a video and this is SOOO HELPFUL. thanks (:
what happens if the leftmost digit that you are subtracting from is smaller then the other digit? In other words were do you borrow from if there are no other digits left to borrow from?
thanks for this helpful video but what about if the subtrahend has a greater value than the minuend? how to do the subtraction with that? Please help. thanks in advance.
I'm using a scripting language that automatically converts hex to dec so it's made me lazy. Right now summing say ( 0x20 . 3 ) works but I was told by other programmers that this is a terrible approach. Trying to figure out what the best approach? for instance ( 0x20 + 0x3 ) would work, but should I be using a bitwise operator ?
Please help. So I am trying to add 4 hexadecimal numbers. The first two are 508E + ABAD = FC31B. However, there's an extra leftmost value, F. Now I have to add this to 1DEA and in my teacher's example he has the leftmost value added on the bottom , so FC31B + 1DEA + F but I have no idea how to add the B + A + F because that's 36 and 16 goes into it twice with 4 left over (if I subtract 16 twice). What is the answer, 2 4 ? I'm so confused, thanks !
ANSWER:0X167 1 EF +78 _____ 167 in order to add F+8, you know that F=15 decimal , so you add (15+8=23) the sum exceeds 16, therefore you have 1 complete group of 16 and 7 left over (15+8=23 ...23-16=7 ~ 17 hex Then you add E+7, [14+7 +( 1 carry that was added from the previous addition) = 23] the sum exceeds 16, therefore you have 1 complete group of 16 and 6 left over 22-16= 6 ~ 16hex
that subtracting is not done correctly. The answer is 64B, when u transform 8 to 7 u have to add 16 to the 3, then do 19-8 (which is B) and continue with the calculation
OMG, thank you. I have an exam of this in 5 minutes, and you've explained to me what my teacher failed to teach!
your teacher didnt failed to teach you something you didnt study until 5 minutes before the exam, you dipshit
You explained this very simply and now I have passed a part of my course that I usually struggle at, thank you!
Thanks a zillion Professor. God bless you.
Thanks man! Helped me with some revision for an assessment i have coming up. It may seem like a simple thing but you'd be surprised how many people in an advanced software development class can't add or subtract in hex! haha thanks!
dam professor, couldn't explain something this simple in 2hrs
thank you for a great tutorial :)
there needs to be more computer related tutorials like this on youtube!
What if you do not have anything to subtract from like 4-A=? of what if you have 784-BDA=135E (How do you get 3 in front of the 5?)
Very clear explanation...Thank you.
haha you have saved my life I dont know why I had a hard time trying to add x04D + x074 by converting them in the 4-bit binary form and adding them individually it was a PAIN maybe I did it wrong but never got the right answer haha so I googled for a video and this is SOOO HELPFUL. thanks (:
Helped me a lot. You are awesome! Pls, keep it up!
Thanks.
Thanks Professor JatPGCC .. Problem Solved
Thank you so much for the brief explanation about this topic.
thank u, this method is much easier;)
what happens if the leftmost digit that you are subtracting from is smaller then the other digit? In other words were do you borrow from if there are no other digits left to borrow from?
thanks for this helpful video but what about if the subtrahend has a greater value than the minuend? how to do the subtraction with that? Please help. thanks in advance.
I'm using a scripting language that automatically converts hex to dec so it's made me lazy.
Right now summing say ( 0x20 . 3 ) works but I was told by other programmers that this is a terrible approach.
Trying to figure out what the best approach? for instance ( 0x20 + 0x3 ) would work, but should I be using a bitwise operator ?
so any time it exceeds the base number you carry a one ?
im wondering if u do program writing too?
Please help. So I am trying to add 4 hexadecimal numbers. The first two are 508E + ABAD = FC31B. However, there's an extra leftmost value, F. Now I have to add this to 1DEA and in my teacher's example he has the leftmost value added on the bottom , so FC31B + 1DEA + F but I have no idea how to add the B + A + F because that's 36 and 16 goes into it twice with 4 left over (if I subtract 16 twice). What is the answer, 2 4 ? I'm so confused, thanks !
10 10 4 i think would be your answer but im not sure
thanx for this nice explanation
well explained . thanks sir!
thanks a lot keep the good work
Yes, thank you!!!
What kind of chart is he talking about ?
good bro
thanx for u prof
kiss for u from iraq
Thank you for this helpful video :)
You are not clear when talking about borrowing. Do we add 10 or 16 when borrowing?
Thank-you very much, this helped a lot :P
man increase your contrast and brightness also gamma!!!!XD
thank you for this helpful video
SUPER!
you r goooood :)
nice
bless ur soul
thank u sir ....
EF+78 sixteen.. i think not working on this method?... help me...
Thank you so much!!!!
very helpful!
sir 327-41A is??
F3
ANSWER:0X167
1
EF
+78
_____
167
in order to add F+8, you know that F=15 decimal , so you add (15+8=23) the sum exceeds 16, therefore you have 1 complete group of 16 and 7 left over (15+8=23 ...23-16=7 ~ 17 hex
Then you add E+7, [14+7 +( 1 carry that was added from the previous addition) = 23]
the sum exceeds 16, therefore you have 1 complete group of 16 and 6 left over
22-16= 6 ~ 16hex
Can you borrow from 0?
What exam?
how can 13 - 11 = 8 (13 - B)?
Thank you for explaining it lol. I got confused, then I realized that 1 represented (1 x 16)
Are u saying that 8+B=13??
that subtracting is not done correctly. The answer is 64B, when u transform 8 to 7 u have to add 16 to the 3, then do 19-8 (which is B) and continue with the calculation
The video is correct. It is a B, not 8. 19 - B(11) = 8.
I didn't understand
thanks you for this :)
thank you!
patrick?
patrick's left handed :P
Thx a lot......
No!!! Don't use the barrowing method to subtract. It's a waste of time! Use the one-up one-down method! ONE-UP ONE-DOWN
calm down, weirdo
thanks a lot
Thanks
thnx dude
thank you
thank you
thanks so much! I have a quiz on this in Computer Science.... -_-
mercii
:o
OMG thanks! I have an exam in 17 seconds and you taught me what my professor couldn't in 24 years!! - Every tutorial comment.
Lmao 8th grade stuff in germans schools is weird
yes it will be 10
1
EF
+78
_____
167
great video!!!