Overview of Computer Hardware
- Central Processing Unit
- Memory
- Input/Output Devices
Memory
A Large Ordered Collection of Bits
- Byte (8 bits)
- Word
- Double Word
- Quad Word
- kilobyte
- megabyte
- 220 bytes
- 1,048, 576 bytes
- gigabyte
- 230 bytes
- 1,073, 741, 824 bytes
Each byte in memory is associated with an Address
CPU -- Brain of the computer
- Control Unit (CU)
- Fetch the Instruction at the memory location pointed to by the Instruction
Pointer
- Update the Instruction Pointer to point to the next instruction
- Execute the previously fetched instruction
- Arithmetic/Logic Unit (ALU)
- Performs arithmetic, logical, and relational operations
- Registers
- Very fast memory cells used by the CPU in carrying out instructions
Registers
- 4 General Purpose Registers
- AX (Accumulator)
- BX (Base)
- CX (Counter)
- DX (Data)
- Instruction Pointer (IP)
- Stack Pointer (SP)
- Flags Registers