Organization CH 1
Organization CH 1
Organization CH 1
A multilevel machine
Contemporary Multilevel Machines
A six-level computer
Level 0 – Digital Logic Level
• This level is the machine true hardware which
executes the machine language programs
• In this level, there is no concept of a program
• Interesting objects in this level are logic gates.
– Built from transistors (analog components).
• Operates on digital inputs.
– Signals representing 0 or 1.
– Computes simple function on inputs (AND, OR, . . . ).
• Gates can be used to implement registers.
– Groups of 1-bit memories (e.g., 16, 32, or 64).
Level1 – Microarchitecture Level or
Microprogramming Level
• This level contains a group of registers, the Arithmetic
Logic Unit (ALU), Control Unit (CU)
• Registers are connected to the ALU to form a data
path over which data flows
• ALU operates on the values in the registers and stores
the result back into the memory or into one of the
registers
• CU controls the data path so that data is moved where
and when it should be.
• Data path is controlled by a program called
microprogram
• Microprogram is an interpreter for the instructions in
Level2.
• No two computers have identical microprogramming
level.
Level 2 – Instruction Set Architecture (ISA)
Level or Conventional Level
• This level defines the instruction set of the
computer.
• Some computers may not have a
microprogramming level, therefore, the ISA level
instruction will be directly carried out by L0.
• Due to that, ISA instruction can be executed by
hardware or be interpreted by a microprogram
(L1)
• This set of instructions are published by
processor manufacturer in reference manual.
Level 3 - Operating System Machine Level
• Some of this level’s instructions are also in level 2
• A series of programs serves as a kind of
protective shell or buffer to save users and
application programs from the complexities of the
hardware.
• Operating system controls the sharing and
interaction among various computer units as they
execute application programs.
• Operating system also aids in process as a
resource allocator such as sharing memory
resource among users and application programs.
Level 4 – Assembly Language
Level
• This level language is textual, i.e., uses words,
abbreviations and symbols to write programs
which more meaningful and understandable than
the numeric ones.
• Programs in Level 4 are first translated to Level
1, 2 or 3 languages and then interpreted by the
appropriate machine to Level 0 (digital logic level)
• An assembler translates programs written in
an assembly language into a sequence of
machine instructions.
Level 5 – Problem Oriented
Language Level
• This level represents the high level languages
which are much easier for human to understand than
assembly language program like C++, Visual BASIC,
PASCAL.