Gate Computer Organization - 5 | Signed Representation,1's Complement, 2's Complement

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 9

  • @bosearijit9506
    @bosearijit9506 7 ปีที่แล้ว +2

    How come -2^3-1= -7?
    please explain..11:49

    • @learningsimplified6476
      @learningsimplified6476  7 ปีที่แล้ว

      I said to substitute n = 4 at 11:29
      Then it becomes -[ (2^3)-1] = -[8-1] = -7

    • @sambarapusaianuj
      @sambarapusaianuj ปีที่แล้ว +1

      the range is typically from -2^(n-1) to (2^(n-1)) - 1@@learningsimplified6476

  • @anshunegi65
    @anshunegi65 6 ปีที่แล้ว +1

    -8 (complement form 1000) how ??

  • @yugrawal5541
    @yugrawal5541 8 ปีที่แล้ว

    sir,what you did at 25:51 is 2s complement that is scanning from lsb and after you encounter 1st 1 write at it is and then further bits change 0 to 1 and 1 to 0 BUT you told its 1s complement.. so i find its verbal mistake there and if i am wrong do make me understand the concept :-)
    and thank you .. you are a great mentor :-)

    • @learningsimplified6476
      @learningsimplified6476  7 ปีที่แล้ว

      :) That is 2s Complement only. I said similarly it goes with 1s Complement. Listen from 25:30

  • @MrAritra1991
    @MrAritra1991 7 ปีที่แล้ว

    in 1's complement range should be -(2^(n-1))+1 to (2^(n-1))-1

    • @learningsimplified6476
      @learningsimplified6476  7 ปีที่แล้ว +1

      en.wikipedia.org/wiki/Ones%27_complement

    • @MrAritra1991
      @MrAritra1991 7 ปีที่แล้ว

      yeah that's what I wrote, -[(2^(n-1))-1]= -(2^(n-1))+1