Shri vishnu engineering college for women:: bhimavaram department of information technology



Download 3.29 Mb.
View original pdf
Page24/128
Date12.04.2022
Size3.29 Mb.
#58595
1   ...   20   21   22   23   24   25   26   27   ...   128
ITIIBTechIISemLecCOA
0910-ComputerSystemOverview02
UNIT-1

DEPARTMENT OF INFORMATION TECHNOLOGY::SVECW Page 14
Operand address calculation (oac): If the operation involves reference to an operand in memory or available via IO, then determine the address of the operand.
Operand fetch (of Fetch the operand from memory or read it in from IO.
Data operation (dob Perform the operation indicated in the instruction.
Operand store (os): Write the result into memory or out to IO.

Interrupts Virtually all computers provide a mechanism by which other modules (IO, memory) may interrupt the normal processing of the processor. Interrupts are provided primarily as away to improve processing efficiency. Table 1.2 lists the most common classes of interrupts. Table 1.2 Classes of Interrupts Figure a illustrates this state of affairs. The user program performs a series of WRITE calls interleaved with processing. Code segments 1, 2, and 3 refer to sequences of instructions that do not involve IO. The WRITE calls are to an IO program that is a system utility and that will perform the actual IO operation. The IO program consists of three sections
A sequence of instructions, labeled 4 in the figure, to prepare for the actual IO operation.This may include copying the data to be output into a special buffer and preparing the parameters fora device command.
• The actual IO command. Without the use of interrupts, once this command is issued, the program must wait for the IO device to perform the requested function (or periodically poll the device. The program might wait by simply repeatedly performing a test operation to determine if the IO operation is done.
• A sequence of instructions, labeled 5 in the figure, to complete the operation. This may include setting a flag indicating the successor failure of the operation.



Download 3.29 Mb.

Share with your friends:
1   ...   20   21   22   23   24   25   26   27   ...   128




The database is protected by copyright ©ininet.org 2024
send message

    Main page