11. Detecting Overflow

  Рет қаралды 26,068

Padraic Edgington

Padraic Edgington

Күн бұрын

Пікірлер: 9
@fadwaadnan8499
@fadwaadnan8499 2 жыл бұрын
the fact he seemed like crying explaining this, makes me want to cry too
@jonknight4616
@jonknight4616 4 жыл бұрын
Thanks, helped me figure out how overflow connected in with everything!
@MostafaAbdelrehim
@MostafaAbdelrehim 2 жыл бұрын
01 + 01 = 10 which seems 2 but it is not if we are dealing with signed numbers and actually 10 is -2 (not 2). Now the idea of using the last two carry bits seems flawed. plz, Mr. Padraic correct me if I am wrong. I am very open to discuss this to remove any confusion I might have. Thanks
@MostafaAbdelrehim
@MostafaAbdelrehim 2 жыл бұрын
just one simple clarification to anyone who reads my comment, 01+01 should = 010 because only with 3 bits we can represent 2 in signed number
@kainatqureshi8230
@kainatqureshi8230 6 жыл бұрын
Can someone please tell me how will this problem be solved? I mean how can we resolve this problem if overflow has occurred in our circuit??
@mspeir
@mspeir 5 жыл бұрын
Overflow is usually set as a condition flag and left to the program to deal with. There is no way in hardware to prevent or deal with overflow. Understand that overflow is typically a software bug. The programmer is trying to do arithmetic on two numbers whose result cannot be held in the result of the ALU and/or registers.
@jinccha8234
@jinccha8234 3 жыл бұрын
Thank you!
@arafathdhroba8897
@arafathdhroba8897 Жыл бұрын
thank you .
@panayiotisphotiadis4636
@panayiotisphotiadis4636 3 жыл бұрын
agapose
12.  Implementing Multiplication
10:02
Padraic Edgington
Рет қаралды 23 М.
7-1.  Building a 32-bit Adder
14:52
Padraic Edgington
Рет қаралды 19 М.
9.  Building a 1-bit ALU
5:57
Padraic Edgington
Рет қаралды 79 М.
7.  Building a 1-bit Adder
5:14
Padraic Edgington
Рет қаралды 45 М.
How to Make a Real Diamond - (Not Clickbait)
8:51
JerryRigEverything
Рет қаралды 908 М.
Define the winning strategy for white and it will lead you to victory!
6:28
9-1.  Building a 32-bit ALU
5:02
Padraic Edgington
Рет қаралды 33 М.
13-1.  Improving the Division Hardware
8:09
Padraic Edgington
Рет қаралды 11 М.