Skip to content

Commit 504b716

Browse files
changed IRET description
1 parent cde5d88 commit 504b716

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: machine/machine.pdf

-61 Bytes
Binary file not shown.

Diff for: machine/machine.tex

+1-2
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,7 @@ \subsubsection{Privileged Instructions}
355355

356356
\item \texttt{IRET}\\
357357
Syntax : \texttt{IRET}\\
358-
359-
Set \texttt{IP} to the value pointed by \texttt{SP} and decrements \texttt{SP} by one. \texttt{IRET} does the same action as \texttt{RET}, but it tells the processor that the interrupt handler has finished. With the execution of the \texttt{IRET} instruction, interrupts are enabled. (Read Section \ref{sec:int})
358+
\texttt{IRET} switches the mode from kernel to user mode. It then sets \texttt{IP} to the value pointed by \texttt{SP} and decrements \texttt{SP} by one. With the execution of the \texttt{IRET} instruction, interrupts are enabled. (Read Section \ref{sec:int})
360359

361360
\item \texttt{LOAD}\\
362361
Syntax : \texttt{LOAD \textit{pagenum} \textit{blocknum}}\\

0 commit comments

Comments
 (0)