• Yardy Sardley@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 hours ago

    I used what known as 2’s compliment. Take the complement (flip all the bits - here that would give you 01110 which is 14) then add 1.

    • swag_money@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      thanks for the explanation! could you express it as a NOT operation plus one? like is that how it would be processed at a low level?