Prelude to the 2s complement code: the 10s complement code

  • Our objective:

    • Discuss how signed values are represented by the 2s complement code in computers to

  • We will first study:

    • The 10s complement code

    Reasons:

    • The coding technique used in 10s complement code is similar to the 2s complement code

    • The 10s complement code uses decimal arithmentic while the 2s complement code uses binary arithmetic

    • Humans are more skilled in decimal arithmetic (so it's easier to understand)