ALP/ assembly language program for BCD subtraction/ subtract two bcd numbers/ subtraction of two bcd numbers in 8085/ program for bcd subtraction. perform bcd subtraction in 8085
Пікірлер: 12
@manishtanti84326 жыл бұрын
we can simply subtract number from 100 instead of from 99 and then add 1
@Videh6 жыл бұрын
+Manish Tanti go ahead use this method and don't forget to share the result with me.
@manishtanti84326 жыл бұрын
sir i was asking not telling , i forgot question mark. i wanted to ask 99-34+1=100-34 so why we need two steps? can't we subtract number from 100 directly. i hope you get that.
@Videh6 жыл бұрын
not at all in hexadecimal a carry borrowed is 16 not 10, and we are trying to avoid that borrow.
@manishtanti84326 жыл бұрын
@@Videh thank you sir, got it
@oumaouma84824 жыл бұрын
I didnt understand how 92+(-34) is equivalent to 92+10's compt of 34
@nainikasingh34246 жыл бұрын
If we can not substract..how are we substracting 34 from 99?? If we can substract 34 from 99 y not simply substracting the two no.??
@Videh6 жыл бұрын
+Nainika Singh in 99-34 carry is not borrowed but if you try 53-25 you will get value in hexadecimal. Using 99-34 is only a trick to get 9's complement.
@nainikasingh34246 жыл бұрын
@@Videh okay sir..thanks.🙂
@munirahmedkauswala18756 жыл бұрын
after getting 2's compliment And addition what is happen if carry is not generate???