CSE 422E Review Topics Chapter 1 Part I

  1. Basic Elements of a Computer System:
    • Processor
    • Main memory
    • I/O Modules
    • System Bus
  2. Basic Elems of a Computer System: Processor(defn):
    Controls the operation of the computer and performs its data processing functions. When there is only one processor it is often referred to as the Central Processing Unit.
  3. Basic Elems of a Computer System: Main memory (defn):
    Stores  data and programs this memory is typically volatile. That is to say, when the computer is shut down, the contents  of the memory are lost. In contrast , the contents of disk memory are retained even when the computer system is shut down. Main memory is also referred to as real memory or primary memory.
  4. Basic Elems of a Computer System: I/O Modules(defn):
    Moves data between the computer and its external environment.

    The external environment consists of a variety of devices, including secondary memory devices (e.g. disks), communications equipment and terminals.
  5. Basic Elements of a Computer System: System Bus (defn):
    Provides for communication among processors, main memory and I/O modules.
  6. Instruction Execution:
    A program to be executed by a processor consists of a set of instructions stored in memory. In its simplest form...

    Instruction processing consists of two steps:

    (1) The processor Reads OR FETCHES instructions from memory one at a time...

    (2) The processor EXECUTES each instruction.
  7. Instruction Execution types of actions of execution:
    • Processor-memory
    • Processor-I/O
    • Data Processing
    • Control
  8. Four action categories for processor execution/actions:
    Processor-memory: Data may be transferred from processor to memory or memory to processor.
  9. Four action categories for processor execution/actions: Processor-I/O (defn):
    Data may be transferred to or from a peripheral device by transferring between the processor and an I/O module.
  10. Four action categories for processor execution/actions: Data processing (defn):
    The processor may perform some arithmetic or logical operation on data.
  11. Four action categories for processor execution/actions: Control (defn):
    An instruction may specify that the sequence of execution be altered.
  12. CPU Registers:PC(defn):
    • Program Counter:Holds address of  the instruction to be fetched next.
    • PC is incremented after each fetch.
  13. CPU Registers:IR(defn):
    Instruction Register: Fetched instruction is loaded into the Instruction Register.Instruction being executed.
  14. CPU Registers: MAR(defn):
    Memory address register: Specifies the address in memory for the next read or write.
  15. CPU Registers: MBR:(defn):
    Memory buffer register: contains data to be written into memory or which receives the data read from memory.
  16. CPU Registers: I/O AR(def'n):
    Input/output Address register Specifies a particular I/O Device.
  17. Cpu Registers: I/O BR(def'n):
    Input/output Buffer register:Used for the exchange of data between an I/O module and the processor.
  18. Interrupts fill in the blanks:Image Upload 1
    • (1) Hardware: 
    • a) Device controller or other system hardware issues an interrupt 
    • b) Processor finishes execution of current instruction. 
    • c) Processor signals acknowledgment of interrupt. 
    • d) Processor pushes Processor Status Word (PSW) and Program Counter (PC) onto control stack 
    • e) Processor loads new PC value based on interrupt

    • (2) Software: 
    • a) Save remainder of process state information. 
    • b) Process interrupt. 
    • c) Restore process state information. 
    • d) Restore old PSW and PC.
  19. Interrupts: Program Status Word (defn in Stallings book):
    The PSW contains status information about the currently running process, including memory usage information, condition codes, and other status information, such as an interrupt enable/disable bit and a kernel/user mode bit.
Card Set
CSE 422E Review Topics Chapter 1 Part I
CSE Review Topic questions