two's complement concept of 1000(Binary) -


in two's complement suppose have 0000

1st step invert so, 1111

2nd step add 1 therefore, 10000

goes 5th bit , not anymore in nibble

how keep in 4 bits -8(i.e. 1000)?


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -