\doxysection{Casl2cmd Class Reference}
\label{class_casl2cmd}\index{Casl2cmd@{Casl2cmd}}
casl2cmdから関数ポインタで呼び出される関数
Collaboration diagram for Casl2cmd\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=105pt]{class_casl2cmd__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Related Functions}
(Note that these are not member functions.) \begin{DoxyCompactItemize}
\item
void \textbf{ assemble\+\_\+start} (const \textbf{ CMDLINE} $\ast$cmdl, \textbf{ PASS} pass)
\begin{DoxyCompactList}\small\item\em アセンブラ命令\+STARTの処理 \end{DoxyCompactList}\item
void \textbf{ assemble\+\_\+ds} (const \textbf{ CMDLINE} $\ast$cmdl, \textbf{ PASS} pass)
\begin{DoxyCompactList}\small\item\em アセンブラ命令\+DSの処理 \end{DoxyCompactList}\item
void \textbf{ assemble\+\_\+end} (const \textbf{ CMDLINE} $\ast$cmdl, \textbf{ PASS} pass)
\begin{DoxyCompactList}\small\item\em アセンブラ命令\+ENDの処理 \end{DoxyCompactList}\item
void \textbf{ assemble\+\_\+dc} (const \textbf{ CMDLINE} $\ast$cmdl, \textbf{ PASS} pass)
\begin{DoxyCompactList}\small\item\em アセンブラ命令\+DCの処理 \end{DoxyCompactList}\item
void \textbf{ assemble\+\_\+in} (const \textbf{ CMDLINE} $\ast$cmdl, \textbf{ PASS} pass)
\begin{DoxyCompactList}\small\item\em マクロ命令 \char`\"{}\+IN IBUF,\+LEN\char`\"{} をアセンブル \end{DoxyCompactList}\item
void \textbf{ assemble\+\_\+out} (const \textbf{ CMDLINE} $\ast$cmdl, \textbf{ PASS} pass)
\begin{DoxyCompactList}\small\item\em マクロ命令 \char`\"{}\+OUT OBUF,\+LEN\char`\"{} をアセンブル \end{DoxyCompactList}\item
void \textbf{ assemble\+\_\+rpush} (const \textbf{ CMDLINE} $\ast$cmdl, \textbf{ PASS} pass)
\begin{DoxyCompactList}\small\item\em マクロ命令 \char`\"{}\+RPUSH\char`\"{} をメモリに書き込む \end{DoxyCompactList}\item
void \textbf{ assemble\+\_\+rpop} (const \textbf{ CMDLINE} $\ast$cmdl, \textbf{ PASS} pass)
\begin{DoxyCompactList}\small\item\em マクロ命令 \char`\"{}\+RPOP\char`\"{} をメモリに書き込む \end{DoxyCompactList}\item
bool \textbf{ casl2cmd} (\textbf{ CMD} $\ast$cmdtbl, const \textbf{ CMDLINE} $\ast$cmdl, \textbf{ PASS} pass)
\begin{DoxyCompactList}\small\item\em アセンブラ言語\+CASL IIの命令を処理する。 \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{Detailed Description}
casl2cmdから関数ポインタで呼び出される関数
\doxysubsection{Friends And Related Function Documentation}
\mbox{\label{class_casl2cmd_a46a04f1f6f4148513bd878663cd77eb8}}
\index{Casl2cmd@{Casl2cmd}!assemble\_dc@{assemble\_dc}}
\index{assemble\_dc@{assemble\_dc}!Casl2cmd@{Casl2cmd}}
\doxysubsubsection{assemble\_dc()}
{\footnotesize\ttfamily void assemble\+\_\+dc (\begin{DoxyParamCaption}\item[{const \textbf{ CMDLINE} $\ast$}]{cmdl, }\item[{\textbf{ PASS}}]{pass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [related]}}
アセンブラ命令\+DCの処理
\begin{DoxyReturn}{Returns}
なし
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em $\ast$cmdl} & 1行分のラベル・コマンド・オペランド \\
\hline
{\em pass} & アセンブラが何回目かを表す数 \\
\hline
\end{DoxyParams}
Definition at line 480 of file assemble.\+c.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_casl2cmd_a46a04f1f6f4148513bd878663cd77eb8_cgraph}
\end{center}
\end{figure}
\mbox{\label{class_casl2cmd_a4653a2ca1a9d7a3547be4ad1e0f6924d}}
\index{Casl2cmd@{Casl2cmd}!assemble\_ds@{assemble\_ds}}
\index{assemble\_ds@{assemble\_ds}!Casl2cmd@{Casl2cmd}}
\doxysubsubsection{assemble\_ds()}
{\footnotesize\ttfamily void assemble\+\_\+ds (\begin{DoxyParamCaption}\item[{const \textbf{ CMDLINE} $\ast$}]{cmdl, }\item[{\textbf{ PASS}}]{pass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [related]}}
アセンブラ命令\+DSの処理
\begin{DoxyReturn}{Returns}
なし
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em $\ast$cmdl} & 1行分のラベル・コマンド・オペランド \\
\hline
{\em pass} & アセンブラが何回目かを表す数 \\
\hline
\end{DoxyParams}
Definition at line 466 of file assemble.\+c.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_casl2cmd_a4653a2ca1a9d7a3547be4ad1e0f6924d_cgraph}
\end{center}
\end{figure}
\mbox{\label{class_casl2cmd_ad9b27bc05700d0d56189aa78b62e7afd}}
\index{Casl2cmd@{Casl2cmd}!assemble\_end@{assemble\_end}}
\index{assemble\_end@{assemble\_end}!Casl2cmd@{Casl2cmd}}
\doxysubsubsection{assemble\_end()}
{\footnotesize\ttfamily void assemble\+\_\+end (\begin{DoxyParamCaption}\item[{const \textbf{ CMDLINE} $\ast$}]{cmdl, }\item[{\textbf{ PASS}}]{pass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [related]}}
アセンブラ命令\+ENDの処理
\begin{DoxyReturn}{Returns}
なし
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em $\ast$cmdl} & 1行分のラベル・コマンド・オペランド \\
\hline
{\em pass} & アセンブラが何回目かを表す数 \\
\hline
\end{DoxyParams}
Definition at line 449 of file assemble.\+c.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_casl2cmd_ad9b27bc05700d0d56189aa78b62e7afd_cgraph}
\end{center}
\end{figure}
\mbox{\label{class_casl2cmd_adcfe77609107385a9fe5a2633e7ef497}}
\index{Casl2cmd@{Casl2cmd}!assemble\_in@{assemble\_in}}
\index{assemble\_in@{assemble\_in}!Casl2cmd@{Casl2cmd}}
\doxysubsubsection{assemble\_in()}
{\footnotesize\ttfamily void assemble\+\_\+in (\begin{DoxyParamCaption}\item[{const \textbf{ CMDLINE} $\ast$}]{cmdl, }\item[{\textbf{ PASS}}]{pass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [related]}}
マクロ命令 \char`\"{}\+IN IBUF,\+LEN\char`\"{} をアセンブル
\begin{DoxyCode}{0}
\DoxyCodeLine{PUSH 0,GR1}
\DoxyCodeLine{PUSH 0,GR2}
\DoxyCodeLine{LAD GR1,IBUF}
\DoxyCodeLine{LAD GR2,LEN}
\DoxyCodeLine{SVC 1}
\DoxyCodeLine{POP GR2}
\DoxyCodeLine{POP GR1}
\end{DoxyCode}
\begin{DoxyReturn}{Returns}
なし
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em $\ast$cmdl} & 1行分のラベル・コマンド・オペランド \\
\hline
{\em pass} & アセンブラが何回目かを表す数 \\
\hline
\end{DoxyParams}
Definition at line 494 of file assemble.\+c.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_casl2cmd_adcfe77609107385a9fe5a2633e7ef497_cgraph}
\end{center}
\end{figure}
\mbox{\label{class_casl2cmd_a83ef1d1240a865d959f23b03e220def6}}
\index{Casl2cmd@{Casl2cmd}!assemble\_out@{assemble\_out}}
\index{assemble\_out@{assemble\_out}!Casl2cmd@{Casl2cmd}}
\doxysubsubsection{assemble\_out()}
{\footnotesize\ttfamily void assemble\+\_\+out (\begin{DoxyParamCaption}\item[{const \textbf{ CMDLINE} $\ast$}]{cmdl, }\item[{\textbf{ PASS}}]{pass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [related]}}
マクロ命令 \char`\"{}\+OUT OBUF,\+LEN\char`\"{} をアセンブル
\begin{DoxyCode}{0}
\DoxyCodeLine{PUSH 0,GR1}
\DoxyCodeLine{PUSH 0,GR2}
\DoxyCodeLine{LAD GR1,OBUF}
\DoxyCodeLine{LAD GR2,LEN}
\DoxyCodeLine{SVC 2}
\DoxyCodeLine{LAD GR1,=\#A}
\DoxyCodeLine{LAD GR2,=1}
\DoxyCodeLine{SVC 2}
\DoxyCodeLine{POP GR2}
\DoxyCodeLine{POP GR1}
\end{DoxyCode}
\begin{DoxyReturn}{Returns}
なし
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em $\ast$cmdl} & 1行分のラベル・コマンド・オペランド \\
\hline
{\em pass} & アセンブラが何回目かを表す数 \\
\hline
\end{DoxyParams}
Definition at line 514 of file assemble.\+c.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_casl2cmd_a83ef1d1240a865d959f23b03e220def6_cgraph}
\end{center}
\end{figure}
\mbox{\label{class_casl2cmd_a1e3f5e6b2f3c6b80148673ca0db33fdf}}
\index{Casl2cmd@{Casl2cmd}!assemble\_rpop@{assemble\_rpop}}
\index{assemble\_rpop@{assemble\_rpop}!Casl2cmd@{Casl2cmd}}
\doxysubsubsection{assemble\_rpop()}
{\footnotesize\ttfamily void assemble\+\_\+rpop (\begin{DoxyParamCaption}\item[{const \textbf{ CMDLINE} $\ast$}]{cmdl, }\item[{\textbf{ PASS}}]{pass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [related]}}
マクロ命令 \char`\"{}\+RPOP\char`\"{} をメモリに書き込む
\begin{DoxyCode}{0}
\DoxyCodeLine{POP GR7}
\DoxyCodeLine{POP GR6}
\DoxyCodeLine{POP GR5}
\DoxyCodeLine{POP GR4}
\DoxyCodeLine{POP GR3}
\DoxyCodeLine{POP GR3}
\DoxyCodeLine{POP GR2}
\DoxyCodeLine{POP GR1}
\end{DoxyCode}
\begin{DoxyReturn}{Returns}
なし
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em $\ast$cmdl} & 1行分のラベル・コマンド・オペランド \\
\hline
{\em pass} & アセンブラが何回目かを表す数 \\
\hline
\end{DoxyParams}
Definition at line 552 of file assemble.\+c.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_casl2cmd_a1e3f5e6b2f3c6b80148673ca0db33fdf_cgraph}
\end{center}
\end{figure}
\mbox{\label{class_casl2cmd_aea855d2b0f43de522375a5f7657b2046}}
\index{Casl2cmd@{Casl2cmd}!assemble\_rpush@{assemble\_rpush}}
\index{assemble\_rpush@{assemble\_rpush}!Casl2cmd@{Casl2cmd}}
\doxysubsubsection{assemble\_rpush()}
{\footnotesize\ttfamily void assemble\+\_\+rpush (\begin{DoxyParamCaption}\item[{const \textbf{ CMDLINE} $\ast$}]{cmdl, }\item[{\textbf{ PASS}}]{pass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [related]}}
マクロ命令 \char`\"{}\+RPUSH\char`\"{} をメモリに書き込む
\begin{DoxyCode}{0}
\DoxyCodeLine{PUSH 0,GR1}
\DoxyCodeLine{PUSH 0,GR2}
\DoxyCodeLine{PUSH 0,GR3}
\DoxyCodeLine{PUSH 0,GR4}
\DoxyCodeLine{PUSH 0,GR5}
\DoxyCodeLine{PUSH 0,GR6}
\DoxyCodeLine{PUSH 0,GR7}
\end{DoxyCode}
\begin{DoxyReturn}{Returns}
なし
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em $\ast$cmdl} & 1行分のラベル・コマンド・オペランド \\
\hline
{\em pass} & アセンブラが何回目かを表す数 \\
\hline
\end{DoxyParams}
Definition at line 537 of file assemble.\+c.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_casl2cmd_aea855d2b0f43de522375a5f7657b2046_cgraph}
\end{center}
\end{figure}
\mbox{\label{class_casl2cmd_a0c64bca33cb0d09cd9fba1db19dbaf1a}}
\index{Casl2cmd@{Casl2cmd}!assemble\_start@{assemble\_start}}
\index{assemble\_start@{assemble\_start}!Casl2cmd@{Casl2cmd}}
\doxysubsubsection{assemble\_start()}
{\footnotesize\ttfamily void assemble\+\_\+start (\begin{DoxyParamCaption}\item[{const \textbf{ CMDLINE} $\ast$}]{cmdl, }\item[{\textbf{ PASS}}]{pass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [related]}}
アセンブラ命令\+STARTの処理
\begin{DoxyReturn}{Returns}
なし
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em $\ast$cmdl} & 1行分のラベル・コマンド・オペランド \\
\hline
{\em pass} & アセンブラが何回目かを表す数 \\
\hline
\end{DoxyParams}
Definition at line 431 of file assemble.\+c.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_casl2cmd_a0c64bca33cb0d09cd9fba1db19dbaf1a_cgraph}
\end{center}
\end{figure}
\mbox{\label{class_casl2cmd_acd9a0f035261dfc22abda9cf12f21c31}}
\index{Casl2cmd@{Casl2cmd}!casl2cmd@{casl2cmd}}
\index{casl2cmd@{casl2cmd}!Casl2cmd@{Casl2cmd}}
\doxysubsubsection{casl2cmd()}
{\footnotesize\ttfamily bool casl2cmd (\begin{DoxyParamCaption}\item[{\textbf{ CMD} $\ast$}]{cmdtbl, }\item[{const \textbf{ CMDLINE} $\ast$}]{cmdl, }\item[{\textbf{ PASS}}]{pass }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [related]}}
アセンブラ言語\+CASL IIの命令を処理する。
エラー発生時は、cerrを設定
\begin{DoxyReturn}{Returns}
命令が表で定義されている場合はtrue、それ以外の場合はfalseを返す
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em $\ast$cmdtbl} & アセンブラ言語\+CASL IIの命令表 \\
\hline
{\em $\ast$cmdl} & 1行分のラベル・コマンド・オペランド \\
\hline
{\em pass} & アセンブルが何回目か \\
\hline
\end{DoxyParams}
Definition at line 567 of file assemble.\+c.
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_casl2cmd_acd9a0f035261dfc22abda9cf12f21c31_icgraph}
\end{center}
\end{figure}
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item
src/\textbf{ assemble.\+c}\end{DoxyCompactItemize}