<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Amir Hossein on Medium]]></title>
        <description><![CDATA[Stories by Amir Hossein on Medium]]></description>
        <link>https://medium.com/@amirhosseinrashidi?source=rss-2665b7f68090------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*EIgJmbnDnAx94yr9JQbXNQ.jpeg</url>
            <title>Stories by Amir Hossein on Medium</title>
            <link>https://medium.com/@amirhosseinrashidi?source=rss-2665b7f68090------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 20:06:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@amirhosseinrashidi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Investigation of Various Factors of
Interruptions and Their Types
in the Computer Environment…]]></title>
            <link>https://amirhosseinrashidi.medium.com/the-investigation-of-various-factors-of-interruptions-and-their-types-in-the-computer-environment-0c9dc828f6f4?source=rss-2665b7f68090------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c9dc828f6f4</guid>
            <category><![CDATA[hardware]]></category>
            <category><![CDATA[computer-engineering]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[ibm]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Amir Hossein]]></dc:creator>
            <pubDate>Thu, 18 Apr 2024 11:53:52 GMT</pubDate>
            <atom:updated>2024-04-18T11:54:35.314Z</atom:updated>
            <content:encoded><![CDATA[<h4>The Investigation of Various Factors of<br>Interruptions and Their Types<br>in the Computer Environment:<br>Effects, Solutions, and Impacts<br>on Users&#39; Productivity</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*URHqN_dPSiVjE4UyaczesA.jpeg" /></figure><p>&quot;An interruption is an event that causes the processor to change the sequence of instructions. Interruptions come in various types, and the mechanism of servicing them varies across different machines.&quot;<br>&quot;We to explain the interruptions related to IBM machines. These machines often have six types of interruptions</p><p>1 ) &quot;SVC interruption (Supervisor Call) :<br>&quot;SVC interruption&quot; stands for &quot;Supervisor Call interruption.&quot; It is a type of interruption that occurs when a program running in a user state requests a service or operation that can only be performed by the operating system or supervisor. When such a request is made, the SVC interruption is triggered, allowing the operating system to handle the requested service or operation on behalf of the user program. This mechanism helps ensure proper control and management of system resources and services in IBM machines and other computer systems.<br>&quot;This interruption is actually a request from the user program to receive a specific service from the operating system. In other words, it is a system call . However, the operating system can examine the request and the user program&#39;s privileges and may refrain from providing the service.&quot;</p><p>2) Input/Output (I/O) Interruptions : <br>Input/Output (I/O) interruptions are essential for managing communication between a computer and its peripherals. They handle tasks such as reading from or writing to storage devices, receiving input from keyboards or mice, and sending output to displays or printers. These interruptions ensure efficient data transfer and coordination between the CPU and external devices, enhancing overall system functionality and performance.<br>These interruptions are generated by input-output hardware and often occur when an I/O operation is completed, an error occurs during it, or the device is ready for the next I/O operation.</p><p>3 ) External Interruptions : <br>External interruptions are crucial for handling events triggered by external devices or processes that require attention from the computer&#39;s operating system. These interruptions can be generated by various sources such as keyboard input, timers, or external hardware devices. They allow the system to respond to external events promptly, enabling tasks like time management, hardware monitoring, and synchronization with external processes. Managing external interruptions efficiently is essential for the overall functionality and performance of a computer system.</p><p>4 ) Restart Interruption : <br>The Restart interruption is a type of interruption triggered by pressing the &quot;Restart&quot; key. This type of interruption typically initiates a system reboot or restart procedure, allowing the computer&#39;s operating system to perform a fresh start or resolve certain system issues by restarting critical processes and services.</p><p>5 ) Program Check Interruption :<br>The Program Check interruption is a type of interruption that occurs due to errors within the user program, such as division by zero or overflow. These errors are typically detected using specific instructions known as traps or trap instructions. The Program Check interruption is essential for identifying and handling program-related errors to ensure the smooth and reliable operation of the computer system.</p><p>6 ) Machine Check Interruption: <br>The Machine Check Interruption is a type of interruption that occurs due to an error in the hardware of the machine. Examples include memory parity errors, memory imbalance bit errors, or power supply failures. This interruption is crucial for identifying and managing hardware errors and ensuring the proper and stable operation of the system.</p><p>When any of the above interruptions occur, the operating system first preserves the complete state of the running program. Then, the operating system examines the interruption and hands control to an appropriate interrupt handler routine. All these operations must be performed quickly, so interrupt routines are often initially written in machine language and optimized. In the mentioned machine, there is a primary interrupt routine for each type of interruption.<br>Before the operating system hands control to a specific interrupt handler routine, it saves the current processing state in a place where it can later resume it. This process is called a context switch or context change.<br>The main components of internal stability switching are the program status word (PSW), which controls the execution order of instructions and contains various types of information</p><p>In a broader classification, interruptions can be divided into three categories.:</p><p>1 ) External Interruptions : <br>These interruptions are triggered by external devices or events outside the CPU, such as keyboard input, timer events, or I/O device signals.</p><p>2 ) Internal Interruptions : <br>Internal interruptions occur due to events within the CPU or related to the currently executing program, such as program check interruptions or restart interruptions.</p><p>3 ) Software interruptions : <br>Software interruptions, also known as SVC (Supervisor Call) interruptions, occur as a result of a program calling system functions.</p><p>A few important points :</p><p>1 ) By re-executing the program, the internal interrupts occur again in the same way as before, but the external interrupts are independent of the program commands and asynchronous with the program.</p><p>2 ) If multiple sources simultaneously request their interrupts via a single interrupt line to the CPU, then the CPU will identify the interrupting source through a method called polling or prioritization of the interrupting source.</p><p>3 ) If multiple sources simultaneously send multiple interrupt signals at the same moment, the CPU will service them based on the pre-defined priorities assigned to them.</p><p>Sometimes, fast peripheral devices use the Direct Memory Access (DMA) technique. In DMA, the I/O device sets up a large block of data and then transfers it all at once, sending an interrupt to the CPU afterward. This transfer is controlled by a DMA hardware controller and does not require CPU control. This way, a large block of data can be transferred without the constant supervision of the CPU.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c9dc828f6f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>