3 A computer understands information composed of only zeros and ones. The decimal number system is convenient for the programmer. The computer uses binary digits for its operation. 1 1 1 1 1 1
4
DECIMAL NUMBER SYSTEM 5
6 DECIMAL NUMBER 4598 1 2 3
7 BINARY NUMBER SYSTEM
8 BINARY NUMBER 1011 1 2 3
9 HEXADECIMAL NUMBER SYSTEM
10 HEXADECIMAL NUMBER 1A5D 1 2 3
11 OCTAL NUMBER SYSTEM
12 OCTAL NUMBER 5273 1 2 3
13 CONVERSIONS IN BASIC NUMBER SYSTEM
14 BINARY TO DECIMAL 4 3 2 1
15 HEXADECIMAL TO DECIMAL 2 1
16 OCTAL TO DECIMAL 2 1
17 DECIMAL TO BINARY L SB M SB Divide through out by 2 DECIMAL = 39 BINARY = 100111
18 DECIMAL TO HEX Divide through out by 16 LSB MSB DECIMAL = 35 HEX = 23
19 DECIMAL TO OCTAL D ivide through out by 8 LSB MSB DECIMAL = 461 OCTAL = 715
32 SIGNED ARITHMETIC OPERATION MSB bit is reserved to represent the sign of the number. When the number is negative, the sign bit is kept one. When the number is positive, the sign bit is 0. In 8-bit processor, MSB = sign bit & other 7 bits = number. In 16-bit processor, MSB = sign bit & other 15 bits = number.
35 LOGIC GATES Logic gates perform basic logical functions. They are fundamental building blocks of digital integrated circuits. Most logic gates take an input of two binary values, and output a single value of a 1 or 0. Some circuits may have only a few logic gates, while others, such as microprocessors, may have millions of them. There are seven different types of logic gates, which are outlined.
36
37
38
39
40
41
42
43 FLIP-FLOPS A flip-flop or latch is a circuit that has two stable states and can be used to store state information. Each flip-flop stores one bit of information