You guys are probably all going to hate me for bringing all my electronics blues to you but you guys are the best what can i say 
I am having a tough time trying to understand this circuit. Its function is to perform binary addition/subtraction. I understand the addition part perfectly but when i try to do subtraction i dont get the right answer at all!
Say for example when attempting to subtract 5 from 4. +5 in BCD is 0101Therefore -5=0101 as well (ten's complement)
So 0100
+ 0101
= 1001
As this is a valid BCD code, no further action is taken (adding six on to this if the code was invalid) So obviously this is wrong so what am i doing wrong? I just cant seem to understand this circuit with respect to subtraction. Help!
I am having a tough time trying to understand this circuit. Its function is to perform binary addition/subtraction. I understand the addition part perfectly but when i try to do subtraction i dont get the right answer at all!
Say for example when attempting to subtract 5 from 4. +5 in BCD is 0101Therefore -5=0101 as well (ten's complement)
So 0100
+ 0101
= 1001
As this is a valid BCD code, no further action is taken (adding six on to this if the code was invalid) So obviously this is wrong so what am i doing wrong? I just cant seem to understand this circuit with respect to subtraction. Help!
Attachments
-
55.7 KB Views: 85