- Procedure:
- 2's complement subtrahend
- Added result to minued
Notes on Microprocessors and Microcomputers: Hardware and Software Ronald J. Tocci
Tuesday, August 9, 2011
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
Chp 1: Number Systems and Codes
- Binary digit (bit) is a digit that can take on only the values of 0 and 1
Subscribe to:
Posts (Atom)