2. Learning Outcomes:
Identify, understand and apply different number systems and
codes.
Understand the digital representation of data in a computer
system.
3. Processor Organization
Improvements in Chip Organization and Architecture
As designers with the challenge of balancing processor
performance with that of main memory and other computer
components, the need to increase processor speed remains. There are
three approaches to achieving increased processor speed:
• Increase the hardware speed of the processor. With gates closer
together, the propagation time for signals is significantly reduced,
enabling a speeding up of the processor. An increase in clock rate
means that individual operations are executed more rapidly.
• Increase the size and speed of caches that are interposed between
the processor and main memory.
• Make changes to the processor organization and architecture that
increase the effective speed of instruction execution. Typically, this
involves using parallelism in one form or another.
4. To understand the organization of the processor, let us consider the
requirements placed on the processor, the things that it must do:
Fetch instruction: The processor reads an instruction from memory (register,
cache, main memory).
Interpret instruction: The instruction is decoded to determine what action is
required.
Fetch data: The execution of an instruction may require reading data from
memory or an I/O module.
Process data: The execution of an instruction may require performing some
arithmetic or logical operation on data.
Write data: The results of an execution may require writing data to memory
or an I/O module.
5. Integer Representation
In the binary number system, arbitrary numbers can be represented with just
the digits zero and one, the minus sign, and the period, or radix point.
Bit: Binary digit
Only have 0 & 1 to represent everything
For purposes of computer storage and processing, however, we do not
have the benefit of minus signs and periods. Only binary digits (0 and 1)
may be used to represent numbers. If we are limited to nonnegative
integers, the representation is straightforward.
Numbers stored in binary
NO minus sign for negative numbers
No period
Range of Numbers
Negative Numbers
Sign -magnitude
2’s Complement
6. Size of Data
SIZE BINARY DECIMAL HEXA
8 0000 0000
1111 1111
0 to 255 00 to FF
12 0000 0000 0000
1111 1111 1111
0 to 4095 000 to FFF
16 0000 0000 0000 0000
1111 1111 1111 1111
0 to (2^16-1) 0000 to FFFF
20 0000 0000 0000 0000 0000
1111 1111 1111 1111 1111
0 to (2^20-1) 00000 to FFFFF
32 0000 …………………………. 0000
1111 …………………………. 1111
0 to (2^32-1) 00000000 to
FFFFFFF
7. 8-Bit Number
256 different bit patterns
Positive Number Negative Number
0 255 127 0 127
Negative Positive
8. Sign Magnitude
0- means positive
1 – means negative
+18 = 00010010
-18 = 10010010
Problems
Need to consider both sign and magnitude in arithmetic
Two representation of Zero(+0 & -0)
1-bit 7-bit
MagnitudeS