3. Understand the systems used to connect differentUnderstand the systems used to connect different
components together.components together.
Understand the addressing system for input/outputUnderstand the addressing system for input/output
devices.devices.
Understand the program execution and machineUnderstand the program execution and machine
cycles.cycles.
OOBJECTIVES (continued)BJECTIVES (continued)
Distinguish between programmed I/O, interrupt-Distinguish between programmed I/O, interrupt-
driven I/O and direct memory access (DMA).driven I/O and direct memory access (DMA).
Understand the two major architectures used to defineUnderstand the two major architectures used to define
the instruction sets of a computer:the instruction sets of a computer: CISC and RISCCISC and RISC..
14. Example 1Example 1
A computer has 32 MB (megabytes) of memory.
How many bits are needed to address any single
byte in memory?
SolutionSolution
The memory address space is 32 MB, or 2The memory address space is 32 MB, or 22525
(2(255
x 2x 22020
). This means you need log). This means you need log22 222525
oror 2525 bits,bits,
to address each byte.to address each byte.
15. Example 2Example 2
A computer has 128 MB of memory. Each word
in this computer is 8 bytes. How many bits are
needed to address any single word in memory?
SolutionSolution
The memory address space is 128 MB, whichThe memory address space is 128 MB, which
means 2means 22727
. However, each word is 8 (2. However, each word is 8 (233
) bytes,) bytes,
which means that you have 2which means that you have 22424
words. Thiswords. This
means you need logmeans you need log22 222424
oror 2424 bits, to addressbits, to address
each word.each word.
34. Figure 5-11
CD-ROM format
• Using hamming code
– 8-bit for data transformed into a 14-bit symbol
using an error correction method
• A frame is made of 42 symbols
• A sector is mode of 96 frames
35. Table 5.2 CD-ROM speedsTable 5.2 CD-ROM speeds
SpeedSpeed
------------
1x
2x
4x
6x
8x
12x
16x
24x
32x
40x
Data RateData Rate
------------------------
153,600 bytes per second
307,200 bytes per second
614,400 bytes per second
921,600 bytes per second
1,228,800 bytes per second
1,843,200 bytes per second
2,457,600 bytes per second
3,688,400 bytes per second
4,915,200 bytes per second
6,144,000 bytes per second
ApproximationApproximation
------------
150 KB/s
300 KB/s
600 KB/s
900 KB/s
1.2 MB/s
1.8 MB/s
2.4 MB/s
3.6 MB/s
4.8 MB/s
6 MB/s
CD-ROM-- speed
67. Architectures
• CISC: complex instruction set computer
– Have a large set of instructions, including the
complex ones
– Micro-operation, micro-memory, micro-
programming (p. 92)
– i.e. Intel Pentium
• RISC: reduced instruction set computer
– Have a small set of instructions that do a
minimum number of simple operations
– i.e. Apple PowerPC
68. Key terms
• Address bus
• Address space
• Arithmetic logic unit (ALU)
• Arithmetic operation
• Bit pattern
• Bus
• Cache memory
• Central processing unit
(CPU)
• CD-ROM
• CD-R
• CD-RW
• CISC
• Control bus
• Control unit
• Data bus
• Data register
• DVD
• Direct memory access
• DRAM
• EEPROM
• EPROM
• Execute
• Fetch
• FireWire
• Frame
• I/O controller
• I/O subsystem
• Instruction register
• Interrupt-driven I/O
69. • Isolated I/O
• Keyboard
• Land
• Logical operation
• Machine cycle
• Magnetic disk
• Magnetic tape
• Main memory
• Memory-mapped I/O
• Monitor
• Nonstorage device
• Optical storage device
• Pit
• Printer
• Program counter
• PROM
• Programmed I/O
• Random access memory
(RAM)
• Read-only memory (ROM)
• Read/write head
• RISC
• Register
• Rotational speed
• Sector
• Seek time
• SCSI
• Static RAM (SRAM)
• Storage device
• Track
• Transfer time
• USB
• Write once, read only
(WORM)