Two's Complement

  Рет қаралды 76,791

Caleb Curry

Caleb Curry

Күн бұрын

Пікірлер: 99
@komodoensis-rex
@komodoensis-rex 11 жыл бұрын
I was having a tough time in my Systems Architecture class with this concept, so I searched your channel and sure enough you have a great video about it. You're my hero man. College is looking a lot less scary knowing I have your videos to back me up
@BotanTechHelp
@BotanTechHelp 8 жыл бұрын
Remember -128 and not 128 when using twos complement.
@ps4gamers1234
@ps4gamers1234 3 жыл бұрын
BETTER THAN MY TEACHER'S EXPLANATION😂😂
@philiprodriguez5197
@philiprodriguez5197 8 жыл бұрын
Can you please explain when you add one, why do you put it on the second place instead of the first place? In other words i see that sometimes when you add one, it is not always in the first place.
@Fedo0o0on
@Fedo0o0on 11 жыл бұрын
this is better than the book xD
@RandomPersonTime
@RandomPersonTime 8 жыл бұрын
so how would you solve -45+23 with twos complement? do you change it to 23-45 then convert 45 with 2s complement and add?
@brandonmyers5222
@brandonmyers5222 9 жыл бұрын
how can i tell if the furthest left bit/digit is a sign bit or a part of the number in a four bit system does 1000=8 or is it negative 0
@ansharora1395
@ansharora1395 4 жыл бұрын
i was trying to figure out why do we invert every bit in 2s complement .... didn't find it here... but it stuck suddenly... after something u said.. LoL xD.... Thanks though.. 😁👍
@solomonthell7589
@solomonthell7589 10 жыл бұрын
My problem with this whole concept is how do you differentiate between this "Sign-Magnitude form" or "Two's-Compliment form" and regular binary form. *I.e.)* If I see 11111111 written on paper why would I say this = -1 and not 511?
@codebreakthrough
@codebreakthrough 11 жыл бұрын
I enjoy goof work too though. Thanks!
@andreicosma4309
@andreicosma4309 5 жыл бұрын
hei Caleb! you are a GOD!
@deedewald1707
@deedewald1707 3 жыл бұрын
A complex subject taught simply !
@andreicosma4309
@andreicosma4309 5 жыл бұрын
love u Caleb
@leenanofal8097
@leenanofal8097 10 жыл бұрын
This was great! So much better than my textbook ;). If you weren't so young, I would have guessed that you've taught this before. Thank you for the video :).
@Fat1Dada
@Fat1Dada 9 жыл бұрын
Thank you for the explanations. I have a question though, Say you have a 8 bit word, 1 0 0 0 0 0 0 1 How can you tell if it's the number -127 or the number 129?
@alexpatrick7846
@alexpatrick7846 9 жыл бұрын
This video was definitely more helpful than my upper-division lecture I just attended on this topic. You explained things clearly and the examples helped a ton. Keep up the good work bro!
@solomonthell7589
@solomonthell7589 10 жыл бұрын
An even easier way to write the 2's compliment is to just re-write the binary exactly as you see it from right-left up to and including the first 1 and then just doing basic inversion (Or 1's complement if you will) for each binary digit from there.
@KemAlimole
@KemAlimole 10 жыл бұрын
Great video. Thanks.
@hotterthanpeppa
@hotterthanpeppa 11 жыл бұрын
Thank you so much. Was trying to wrap my head around this vua a text book explanation...confused much. Your vid realy helped me. Now to practise. Keep up the goof work!
@kaoutharmokrane566
@kaoutharmokrane566 9 жыл бұрын
thank you so much that was helpful . but i have a question .... the positive numbers in 2's complement are the same right ? ..i mean .if the number starts with 0 (from the left) we read it the same way ( in binary) whether in 1's complement or 2's complement ?
@codebreakthrough
@codebreakthrough 9 жыл бұрын
+Kaouther Mokrane Correct.
@alizzzization
@alizzzization 9 жыл бұрын
+CalebTheVideoMaker2 im confused on the negative 2 bit being repesented as 1110 is itbecause the number you initially started with (0010) equaled to 2 and you flipped it i get that bit but then you added 1 (0001) and got 2i dont get how you got the 2 ( its at 11-30 in the video seconds before that.)
@thawksf88
@thawksf88 4 жыл бұрын
Thanks Caleb!!! YOU'RE AWESOME
@ling6701
@ling6701 10 жыл бұрын
Thank you, I got this now.
@adeelmuzaffar1050
@adeelmuzaffar1050 8 жыл бұрын
Great job Caleb!!! I was going over some document to learn this and it was difficult. You made it soo easy. Thanks so much.
@alessandrokreutner5797
@alessandrokreutner5797 10 жыл бұрын
Why do we have to add 1 after swichting the 1 to 0 and the 0 to one?
@afifatehseen2601
@afifatehseen2601 10 жыл бұрын
Because switching 0s to 1s and 1s to 0s is "1's Complement" and by adding 1 it become "2s complement"
@abhinavshobhit7783
@abhinavshobhit7783 7 жыл бұрын
you made these things really easy to understand. Thanks
@tshegodipale
@tshegodipale Жыл бұрын
9 years later.... someone somewhere in the world is still saying, "I can finally scratch out that lecturers notes and learn from this amazing channel!💥💥"
@ranakrakacan1881
@ranakrakacan1881 10 жыл бұрын
you are so much better than my book.thanks a lot
@kmoore7498
@kmoore7498 10 жыл бұрын
Thank you, you made Two's Complement more understandable. Being COMPLETELY new to this, I was confused as to why you carried the "1" when you did. Maybe that was in another video. I eventually figured it out but that was the only part I didn't understand at first.
@alitabrizi633
@alitabrizi633 7 жыл бұрын
Wow good job man, explained very well, loved how detailed it was.
@madnc6612
@madnc6612 7 жыл бұрын
Anyone know how to represent -32 in 2's complement using 6 bits?
@jayamcfaya
@jayamcfaya 10 жыл бұрын
you are better than my cse teacher when it comes to explaining, thank you!:)
@Benstyping
@Benstyping 10 жыл бұрын
I thought it went from 0 - 7, how all of a sudden did you jump from it being into two sets of positive and negative numbers?
@codebreakthrough
@codebreakthrough 10 жыл бұрын
Benami Ark I'm showing that if you make a number signed (giving it the ability to be positive or negative), you must now accommodate for negatives and positives in the same amount of space. The far most left bit becomes a sign bit, meaning it decides whether it is positive or negative. If you had the same range of numbers unsigned then you get 0-7
@sarapalacio9722
@sarapalacio9722 10 жыл бұрын
Thank u! Ready for my Quiz now! :) I hope .
@sarahconnolly9889
@sarahconnolly9889 10 жыл бұрын
thank you so much, so helpfull god bless you
@Sleepwalker9
@Sleepwalker9 9 жыл бұрын
Very detailed explanation, Thank you so much!!
@אוריאגמון-ג5מ
@אוריאגמון-ג5מ 8 жыл бұрын
Thanks! that video really helped me understand the method much better!
@Boogie-rw9bf
@Boogie-rw9bf 6 жыл бұрын
nice work keep it up my brother
@HiddenLotus
@HiddenLotus 10 жыл бұрын
thank you thank you thank you! my lab homework was killing me XD
@aslanusta1275
@aslanusta1275 10 жыл бұрын
Thank you so much.
@greyfoxninja1239
@greyfoxninja1239 5 жыл бұрын
Thanks for the videos I found them very helpful for upcoming classes.
@aiman_yt
@aiman_yt 8 жыл бұрын
Thank you very much.
@amirah.elghanam5035
@amirah.elghanam5035 9 жыл бұрын
wow u r awesome! please keep making more videos :D
@juanpaul6141
@juanpaul6141 9 жыл бұрын
why did my teacher made 32 spaces to place the binary numbers from 0 to 31 instead you are using a 8 spaces place holder.. thanks
@pandeni4512
@pandeni4512 10 жыл бұрын
When you're adding the one, you don't really show how you get the result. You just kind of do it by yourself and write it down.
@TheJaishree16
@TheJaishree16 9 жыл бұрын
you are an excellent teacher........ plz do post some more videos on binary subtraction.....
@raghuramsatish9019
@raghuramsatish9019 9 жыл бұрын
really good video very clear and easy to understand ,good job
@nathancrawley5212
@nathancrawley5212 8 жыл бұрын
Awesome dude thanks for making the video
@nagarajsajjan2798
@nagarajsajjan2798 4 жыл бұрын
Thanks a lot for uploading
@Hetsapa
@Hetsapa 8 жыл бұрын
Thank you so so so much for this upload!!!!
@AdventuresOfSeth
@AdventuresOfSeth 9 жыл бұрын
Very helpful Thank you!
@peter800
@peter800 8 жыл бұрын
Awesome man
@jyothsnareddi9921
@jyothsnareddi9921 8 жыл бұрын
very helpful..thank you so much.....
@Doctor.Fortnite
@Doctor.Fortnite 9 жыл бұрын
Q: 59-61 = -2 When we get 111110 as an answer then we invert and add 1 and get: 000010. Do we put a negative sign before " 000010" or is it not necessary? Like -000010 Please answer I have exam tomorrow ;-;
@DannyPhantumm
@DannyPhantumm 9 жыл бұрын
+Umer Naeem did you even watch the video, fool?
@Benstyping
@Benstyping 10 жыл бұрын
And why is he saying 100 is negative zero? That's four... In binary can negative numbers also be a different positive numbers????
@codebreakthrough
@codebreakthrough 10 жыл бұрын
Benami Ark the first number on the left (1) is the sign, meaning it has no impact on the size of the number but rather an impact on whether it is positive or negative if it is labeled as a signed number. 100 unsigned = 4
@Michael-sq5ju
@Michael-sq5ju 9 жыл бұрын
Benami Ark While in binary 100 is 4, if you interpret the first digit as a sign bit and the other two bits as a number, 1 means the negative sign and 00 means the number 0, or negative 0 when you put it together. It's all about the way you interpret the numbers.
@mohammedkhaled8622
@mohammedkhaled8622 10 жыл бұрын
thanx caleb....you r wonderful....
@codebreakthrough
@codebreakthrough 10 жыл бұрын
no, you're wonderful! haha
@mohammedkhaled8622
@mohammedkhaled8622 10 жыл бұрын
hahaha...
@kawtheralateeq8264
@kawtheralateeq8264 8 жыл бұрын
excellent job
@dannyhunter5717
@dannyhunter5717 10 жыл бұрын
Thank you for this also. The content of this video didn't go in quite as easily as the first however it may be more clear in the morning lol
@codebreakthrough
@codebreakthrough 10 жыл бұрын
Watch series with autoplay: Introduction to Operating Systems Donations are greatly needed and appreciated! Click to donate: bit.ly/DonateCTVM2
@muffinspuffinsEE
@muffinspuffinsEE 8 жыл бұрын
If you already have studied this and want a recap of it this is the best video ever! :D No, distractions, no statments like: "this is hard, but I'll try to explain" and so on.
@omergonfo4610
@omergonfo4610 7 жыл бұрын
excellent work and thnk u very much
@tamang1234
@tamang1234 8 жыл бұрын
i love you caleb
@hajeralmahri2404
@hajeralmahri2404 7 жыл бұрын
you are amazing!!!!!!!!!!!!!!!
@calvin0630
@calvin0630 9 жыл бұрын
I'm watching this. I can't stop thinking about how you are Foggy Nelson from Daredevil
@Z3kyTw0
@Z3kyTw0 9 жыл бұрын
great video bro
@adamdebesai
@adamdebesai 9 жыл бұрын
Thank you :)
@erinjarvis8089
@erinjarvis8089 10 ай бұрын
Gret video!
@alikharal4480
@alikharal4480 8 жыл бұрын
thanks for upload
@sarahmanikam1546
@sarahmanikam1546 5 жыл бұрын
Thankyou
@poppyrendall847
@poppyrendall847 9 жыл бұрын
This was so useful, I needed this before my exam which is tomorrow, thank you so much :3
@elijahizere
@elijahizere 9 жыл бұрын
Poppy Rendall How did your exam go?
@poppyrendall847
@poppyrendall847 9 жыл бұрын
Very good thank you :3
@olivermitchell4968
@olivermitchell4968 7 жыл бұрын
Poppy Rendall ohh shit! My exam is tomorrow!!!
@ngalexngalex
@ngalexngalex 10 жыл бұрын
that's so great! =] u just save me from the mainland professor x_x
@PerryCodes
@PerryCodes 10 жыл бұрын
I, as well as many others no doubt, really appreciate what you are doing here. The one bit of constructive criticism I'd throw out there is I found myself getting quite bored with the presentation after about ten minutes or so. Perhaps you may want to work on ways to "spice things up" to keep those of us with the attention span of a gnat engaged! Cheers though - keep it up!
@aiman_yt
@aiman_yt 8 жыл бұрын
Ur right. It's too long
@lprater11
@lprater11 11 жыл бұрын
C'MON KAYLUB
@pinkuuu29
@pinkuuu29 9 жыл бұрын
Why is -16 -> 110000?
@codebreakthrough
@codebreakthrough 9 жыл бұрын
+Jaeee Kim farthest left 1 is a sign bit. meaning it is negative. The second farthest left 1 is in the 16s place. Giving the value 16.
@deedewald1707
@deedewald1707 3 жыл бұрын
@@codebreakthrough Correct you are a great teacher !
@denninosyos
@denninosyos 9 жыл бұрын
Dann, that helped! Thanks! P.s. subbed!
@is-ig4zh
@is-ig4zh 10 жыл бұрын
lefthanded xD
@monsterjazzlicks
@monsterjazzlicks 8 жыл бұрын
So many damn contradictions in the video it's unreal! These render it unwatchable!
@curiousmeer
@curiousmeer 8 жыл бұрын
Thumbs up !
@hotterthanpeppa
@hotterthanpeppa 11 жыл бұрын
Really*, good*...apologies...was typing quickly
@Subtle-System
@Subtle-System 9 жыл бұрын
omg, poor kid... Why use as examples the numbers positive 0 and negative 1? lol!!!! Such bad explanation... Why post this video? comical at least.
Intro to Hexadecimal
17:27
Caleb Curry
Рет қаралды 47 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Twos complement: Negative numbers in binary
13:49
Ben Eater
Рет қаралды 1,2 МЛН
Domino Addition - Numberphile
18:30
Numberphile
Рет қаралды 1 МЛН
Introduction to System Design - MVC and Three-Tier Architecture
22:51
Two's Complement Part 1 - An Introduction
9:12
protowise
Рет қаралды 283 М.
Intro to Octal
13:59
Caleb Curry
Рет қаралды 40 М.
Binary Addition and Subtraction With Negative Numbers, 2's Complements & Signed Magnitude
24:57
Complete Roadmap for Backend Software Engineers (START HERE!)
30:17
15 and Hexadecimal - Numberphile
7:58
Numberphile
Рет қаралды 416 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Adding and Subtracting Binary Numbers
21:15
Caleb Curry
Рет қаралды 143 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН