ARITHMETIC
Introduction
1) Refers to the simpler properties when using the traditional operations that is called binary number system arithmetic. Process of binary number system arithmetic used in all digital computers.Binary number system arithmetic can handle both positive and negative numbers. Non-interger and very large numbers are often expressed in floating-point format.
2) A number system is a basic symbol to represent a
set of quantitites.There are many types of number system such as binary, octal,
decimal and hexadecimal.
Add caption |
i) Binary :
- Base of 2.
- Consists only two digit 0 and 1 only.
ii) Decimal :
- Base of 10.
- The value of the assigned weight is composed by 10 digits starting from 0 until 9.
iii) Hexadecimal :
- Base of 16.
- The composed number start from 0 until F.
3) 4 basic of arithmetic in the binary number
system :
i) Binary Addition
- Carry
over implemented similar to decimal arithmetic. Since 1 is the largest digit in
te binary system, any sum greater that 1 requires a digit to be carried over.
ii) Binary Subtraction
- A
borrow is required in binary only when
we need subtract a 1 from a 0.
iii) Binary Multiplication
- Multiplication
is done in the same manner as with decimal numbers.
iv) Binary Division
- Follows the same procedure as division in decimal.
4) 1’s
complement form :
- Negative number is the 1’s
complement of the corresponding positive number.
5) 2's complement form :
- Can
be obtained by adding 1 to the 1’s complement.
Published by Muhammad Azman Bin Amir (B031310075)
No comments:
Post a Comment