Tuesday, August 9, 2011

1.5 Subtraction in 2's Complement System


  • Procedure:
    1. 2's complement subtrahend
    2. Added result to minued

1.4 Addition using Signed Numbers


  • Carry generated by MSD is disregarded

1.3 Binary Arithmetic


  • Binary addition is used for the operations of subtraction, multiplication and division in digital systems
  • Binary subtraction is performed with addition via 2's complement form
  • Sign bit is used to represent the sign of the number ( + or -)
  • True magnitude form vs 2's complement form
  • We negate a signed binary number by 2's complementing it 

1.2 Codes


  • Binary-code decimal (BCD) is a code where each digits of a decimal number is represented by its binary equivalent
  • Alphanumberic codes are codes that represent numbers, letters and special characters (ie. ASCII)
  • Parity bit is used to detect error during binary-code info transfering

1.1 Digital Number Systems


  • Octal system has a base of 8
  • Hexadecimal system has a base of 16

Chp 1: Number Systems and Codes


  • Binary digit (bit) is a digit that can take on only the values of 0 and 1