Beruflich Dokumente
Kultur Dokumente
PART-1
BASIC COMPUTER
ORGANIZATION AND DESIGN
(How Basic Computer Operations Can Be Specified With Register Transfer Statements)
BY
K.SATYASREE
ASSISTANT PROFESSOR
ECE DEPARTMENT
VARDHAMAN COLLEGE OF ENGINEERING
CONTENTS
Instruction Codes
Computer Registers
Computer Instructions
Instruction Cycle
2
Instruction Codes
Internal organization of a computer is defined by the sequence of micro-
operations it performs on data stored in its registers.
Program: set of instructions that specify the operations, operands, and the
sequence by which processing has to occur.
The computer reads each instruction from memory and places it in a control
register. The control then interprets the binary code of the instruction and
proceeds to execute it by issuing a sequence of micro-operations. – Instruction
Cycle
Instruction Code: group of bits that instruct the computer to perform a
specific operations.
Instruction code is usually divided into two parts: opcode and
address(operand)
Instruction format =
Address (operand):
specifies the location of operands (registers or memory words)
Memory words are specified by their address
Registers are specified by their k-bit binary code
k-bit address => 2k registers
Stored Program Concept:
Storage of instructions in a computer memory to enable it to perform a
variety of tasks in sequence.
Introduced by Von Neumann
proposed that a program be electronically stored in binary-number format
in a memory device so that instructions could be modified by the computer
as determined by intermediate computational results.
Types of Architectures:
Harvard Architecture
separate program and data memory
Separate address space for both programs and memory
Required only one instruction cycle
Stored Program Organization:
simplest way to organize a computer
Store each instruction code(program) and operand (data) in 16-bit memory word
Clock pulses are applied to all flip-flops and registers in the system, including
the flip-flops and registers in the control unit.
Micro-programmed control
Control information is stored in control memory. Control memory is
programmed to initiate the sequence of micro-operations.
Advantage: Any changes can be done by updating the micro-program in control
memory
Control unit Block diagram
Instruction Cycle
Each instruction cycle is subdivided into sub-cycles or phases
Upon completion of step 4, the control goes back to step 1 to fetch, decode,
and execute the next instruction.
T1: IR M[AR],
PC PC + 1