\subsection{\index{srb\_save}srb\_save}

\index{use the srb to save the current task's context}
use the SRB to SAVE the current task's context.


\begin{tabular}{l}
  {\bf srb\_save}
\end{tabular}

~~~~~~
Begins to save the current task in its dedicated CMB.

~~~~~~
In prevision of a system call or in real-time sensitive conditions where 
the CPU is about to trigger the SRB and switch to another routine, it is 
recommended to execute srb\_save in advance to speed the switch up.

\begin{center}

\begin{tabular}{|l|l|l|}
 \hline
\multicolumn{1}{|r| }{size :
} & \multicolumn{1}{c| }{8
} & \multicolumn{1}{c| }{24
 } \\
 \hline
\multicolumn{1}{|r| }{bits :
} & {31 ~ ~ ~ ~ ~ ~ ~ ~ 24
} & {23 ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ ~ ~ ~ ~ ~ ~ 0
 } \\
 \hline
\multicolumn{1}{|r| }{function :
} & \multicolumn{1}{c| }{OP\_SRB\_SAVE
} & \multicolumn{1}{c| }{0
}
\\ \hline

\end{tabular}

\end{center}

~

\pagebreak


