root/doc_inner/gnu_global/S/209.html

/* [<][>][^][v][top][bottom][index][help] */
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>doc_inner/doxygen/latex/casl2_8c.tex</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.6.5' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<a id='TOP' name='TOP'></a><h2 class='header'><a href='../mains.html'>root</a>/<a href='../files/2927.html'>doc_inner</a>/<a href='../files/2928.html'>doxygen</a>/<a href='../files/2929.html'>latex</a>/casl2_8c.tex</h2>
<em class='comment'>/* [&lt;][&gt;][^][v][top]<a href='#BOTTOM'>[bottom]</a><a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em>
<hr />
<pre>
<a id='L1' name='L1'></a>\doxysection{src/casl2.c File Reference}
<a id='L2' name='L2'></a>\label{casl2_8c}\index{src/casl2.c@{src/casl2.c}}
<a id='L3' name='L3'></a>{\ttfamily \#include \char`\"{}package.\+h\char`\"{}}\newline
<a id='L4' name='L4'></a>{\ttfamily \#include \char`\"{}assemble.\+h\char`\"{}}\newline
<a id='L5' name='L5'></a>{\ttfamily \#include \char`\"{}exec.\+h\char`\"{}}\newline
<a id='L6' name='L6'></a>Include dependency graph for casl2.\+c\+:
<a id='L7' name='L7'></a>\nopagebreak
<a id='L8' name='L8'></a>\begin{figure}[H]
<a id='L9' name='L9'></a>\begin{center}
<a id='L10' name='L10'></a>\leavevmode
<a id='L11' name='L11'></a>\includegraphics[width=350pt]{casl2_8c__incl}
<a id='L12' name='L12'></a>\end{center}
<a id='L13' name='L13'></a>\end{figure}
<a id='L14' name='L14'></a>\doxysubsection*{Functions}
<a id='L15' name='L15'></a>\begin{DoxyCompactItemize}
<a id='L16' name='L16'></a>\item 
<a id='L17' name='L17'></a>void \textbf{ addcerrlist\+\_\+casl2} ()
<a id='L18' name='L18'></a>\begin{DoxyCompactList}\small\item\em CASL IIのエラーをエラーリストに追加 \end{DoxyCompactList}\item 
<a id='L19' name='L19'></a>char $\ast$ \textbf{ objfile\+\_\+name} (const char $\ast$str)
<a id='L20' name='L20'></a>\begin{DoxyCompactList}\small\item\em アセンブル結果を書き込むファイルの名前 \end{DoxyCompactList}\item 
<a id='L21' name='L21'></a>int \textbf{ main} (int argc, char $\ast$argv[$\,$])
<a id='L22' name='L22'></a>\begin{DoxyCompactList}\small\item\em casl2コマンドのメイン \end{DoxyCompactList}\end{DoxyCompactItemize}
<a id='L23' name='L23'></a>\doxysubsection*{Variables}
<a id='L24' name='L24'></a>\begin{DoxyCompactItemize}
<a id='L25' name='L25'></a>\item 
<a id='L26' name='L26'></a>static struct option \textbf{ longopts} [$\,$]
<a id='L27' name='L27'></a>\begin{DoxyCompactList}\small\item\em casl2コマンドのオプション \end{DoxyCompactList}\item 
<a id='L28' name='L28'></a>\textbf{ CERR} \textbf{ cerr\+\_\+casl2} [$\,$]
<a id='L29' name='L29'></a>\begin{DoxyCompactList}\small\item\em casl2のエラー定義 \end{DoxyCompactList}\end{DoxyCompactItemize}
<a id='L30' name='L30'></a>
<a id='L31' name='L31'></a>
<a id='L32' name='L32'></a>\doxysubsection{Function Documentation}
<a id='L33' name='L33'></a>\mbox{\label{casl2_8c_a1e30152988af8038289b7dd97f3e6d7a}} 
<a id='L34' name='L34'></a>\index{casl2.c@{casl2.c}!addcerrlist\_casl2@{addcerrlist\_casl2}}
<a id='L35' name='L35'></a>\index{addcerrlist\_casl2@{addcerrlist\_casl2}!casl2.c@{casl2.c}}
<a id='L36' name='L36'></a>\doxysubsubsection{addcerrlist\_casl2()}
<a id='L37' name='L37'></a>{\footnotesize\ttfamily void addcerrlist\+\_\+casl2 (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
<a id='L38' name='L38'></a>
<a id='L39' name='L39'></a>
<a id='L40' name='L40'></a>
<a id='L41' name='L41'></a>CASL IIのエラーをエラーリストに追加 
<a id='L42' name='L42'></a>
<a id='L43' name='L43'></a>\begin{DoxyReturn}{Returns}
<a id='L44' name='L44'></a>なし 
<a id='L45' name='L45'></a>\end{DoxyReturn}
<a id='L46' name='L46'></a>
<a id='L47' name='L47'></a>
<a id='L48' name='L48'></a>Definition at line 52 of file casl2.\+c.
<a id='L49' name='L49'></a>
<a id='L50' name='L50'></a>Here is the call graph for this function\+:
<a id='L51' name='L51'></a>\nopagebreak
<a id='L52' name='L52'></a>\begin{figure}[H]
<a id='L53' name='L53'></a>\begin{center}
<a id='L54' name='L54'></a>\leavevmode
<a id='L55' name='L55'></a>\includegraphics[width=338pt]{casl2_8c_a1e30152988af8038289b7dd97f3e6d7a_cgraph}
<a id='L56' name='L56'></a>\end{center}
<a id='L57' name='L57'></a>\end{figure}
<a id='L58' name='L58'></a>Here is the caller graph for this function\+:
<a id='L59' name='L59'></a>\nopagebreak
<a id='L60' name='L60'></a>\begin{figure}[H]
<a id='L61' name='L61'></a>\begin{center}
<a id='L62' name='L62'></a>\leavevmode
<a id='L63' name='L63'></a>\includegraphics[width=210pt]{casl2_8c_a1e30152988af8038289b7dd97f3e6d7a_icgraph}
<a id='L64' name='L64'></a>\end{center}
<a id='L65' name='L65'></a>\end{figure}
<a id='L66' name='L66'></a>\mbox{\label{casl2_8c_a0ddf1224851353fc92bfbff6f499fa97}} 
<a id='L67' name='L67'></a>\index{casl2.c@{casl2.c}!main@{main}}
<a id='L68' name='L68'></a>\index{main@{main}!casl2.c@{casl2.c}}
<a id='L69' name='L69'></a>\doxysubsubsection{main()}
<a id='L70' name='L70'></a>{\footnotesize\ttfamily int main (\begin{DoxyParamCaption}\item[{int}]{argc,  }\item[{char $\ast$}]{argv[$\,$] }\end{DoxyParamCaption})}
<a id='L71' name='L71'></a>
<a id='L72' name='L72'></a>
<a id='L73' name='L73'></a>
<a id='L74' name='L74'></a>casl2コマンドのメイン 
<a id='L75' name='L75'></a>
<a id='L76' name='L76'></a>\begin{DoxyReturn}{Returns}
<a id='L77' name='L77'></a>正常終了時は0、エラー発生時は1
<a id='L78' name='L78'></a>\end{DoxyReturn}
<a id='L79' name='L79'></a>
<a id='L80' name='L80'></a>\begin{DoxyParams}{Parameters}
<a id='L81' name='L81'></a>{\em argc} &amp; コマンドライン引数の数 \\
<a id='L82' name='L82'></a>\hline
<a id='L83' name='L83'></a>{\em $\ast$argv\mbox{[}$\,$\mbox{]}} &amp; コマンドライン引数の配列 \\
<a id='L84' name='L84'></a>\hline
<a id='L85' name='L85'></a>\end{DoxyParams}
<a id='L86' name='L86'></a>
<a id='L87' name='L87'></a>
<a id='L88' name='L88'></a>Definition at line 74 of file casl2.\+c.
<a id='L89' name='L89'></a>
<a id='L90' name='L90'></a>Here is the call graph for this function\+:
<a id='L91' name='L91'></a>\nopagebreak
<a id='L92' name='L92'></a>\begin{figure}[H]
<a id='L93' name='L93'></a>\begin{center}
<a id='L94' name='L94'></a>\leavevmode
<a id='L95' name='L95'></a>\includegraphics[width=350pt]{casl2_8c_a0ddf1224851353fc92bfbff6f499fa97_cgraph}
<a id='L96' name='L96'></a>\end{center}
<a id='L97' name='L97'></a>\end{figure}
<a id='L98' name='L98'></a>\mbox{\label{casl2_8c_ab6b22940a9222f1056dface896c226a1}} 
<a id='L99' name='L99'></a>\index{casl2.c@{casl2.c}!objfile\_name@{objfile\_name}}
<a id='L100' name='L100'></a>\index{objfile\_name@{objfile\_name}!casl2.c@{casl2.c}}
<a id='L101' name='L101'></a>\doxysubsubsection{objfile\_name()}
<a id='L102' name='L102'></a>{\footnotesize\ttfamily char $\ast$ objfile\+\_\+name (\begin{DoxyParamCaption}\item[{const char $\ast$}]{str }\end{DoxyParamCaption})}
<a id='L103' name='L103'></a>
<a id='L104' name='L104'></a>
<a id='L105' name='L105'></a>
<a id='L106' name='L106'></a>アセンブル結果を書き込むファイルの名前 
<a id='L107' name='L107'></a>
<a id='L108' name='L108'></a>\begin{DoxyReturn}{Returns}
<a id='L109' name='L109'></a>ファイル名
<a id='L110' name='L110'></a>\end{DoxyReturn}
<a id='L111' name='L111'></a>
<a id='L112' name='L112'></a>\begin{DoxyParams}{Parameters}
<a id='L113' name='L113'></a>{\em $\ast$str} &amp; ファイル名 \\
<a id='L114' name='L114'></a>\hline
<a id='L115' name='L115'></a>\end{DoxyParams}
<a id='L116' name='L116'></a>
<a id='L117' name='L117'></a>
<a id='L118' name='L118'></a>Definition at line 57 of file casl2.\+c.
<a id='L119' name='L119'></a>
<a id='L120' name='L120'></a>Here is the call graph for this function\+:
<a id='L121' name='L121'></a>\nopagebreak
<a id='L122' name='L122'></a>\begin{figure}[H]
<a id='L123' name='L123'></a>\begin{center}
<a id='L124' name='L124'></a>\leavevmode
<a id='L125' name='L125'></a>\includegraphics[width=321pt]{casl2_8c_ab6b22940a9222f1056dface896c226a1_cgraph}
<a id='L126' name='L126'></a>\end{center}
<a id='L127' name='L127'></a>\end{figure}
<a id='L128' name='L128'></a>Here is the caller graph for this function\+:
<a id='L129' name='L129'></a>\nopagebreak
<a id='L130' name='L130'></a>\begin{figure}[H]
<a id='L131' name='L131'></a>\begin{center}
<a id='L132' name='L132'></a>\leavevmode
<a id='L133' name='L133'></a>\includegraphics[width=191pt]{casl2_8c_ab6b22940a9222f1056dface896c226a1_icgraph}
<a id='L134' name='L134'></a>\end{center}
<a id='L135' name='L135'></a>\end{figure}
<a id='L136' name='L136'></a>
<a id='L137' name='L137'></a>
<a id='L138' name='L138'></a>\doxysubsection{Variable Documentation}
<a id='L139' name='L139'></a>\mbox{\label{casl2_8c_a28657f6b860d0eed7ce04865a344749c}} 
<a id='L140' name='L140'></a>\index{casl2.c@{casl2.c}!cerr\_casl2@{cerr\_casl2}}
<a id='L141' name='L141'></a>\index{cerr\_casl2@{cerr\_casl2}!casl2.c@{casl2.c}}
<a id='L142' name='L142'></a>\doxysubsubsection{cerr\_casl2}
<a id='L143' name='L143'></a>{\footnotesize\ttfamily \textbf{ CERR} cerr\+\_\+casl2[$\,$]}
<a id='L144' name='L144'></a>
<a id='L145' name='L145'></a>{\bfseries Initial value\+:}
<a id='L146' name='L146'></a>\begin{DoxyCode}{0}
<a id='L147' name='L147'></a>\DoxyCodeLine{= \{}
<a id='L148' name='L148'></a>\DoxyCodeLine{    \{ 126, \textcolor{stringliteral}{"{}no source file"{}} \},}
<a id='L149' name='L149'></a>\DoxyCodeLine{    \{ 127, \textcolor{stringliteral}{"{}invalid option"{}} \},}
<a id='L150' name='L150'></a>\DoxyCodeLine{\}}
<a id='L151' name='L151'></a>
<a id='L152' name='L152'></a>\end{DoxyCode}
<a id='L153' name='L153'></a>
<a id='L154' name='L154'></a>
<a id='L155' name='L155'></a>casl2のエラー定義 
<a id='L156' name='L156'></a>
<a id='L157' name='L157'></a>
<a id='L158' name='L158'></a>
<a id='L159' name='L159'></a>Definition at line 47 of file casl2.\+c.
<a id='L160' name='L160'></a>
<a id='L161' name='L161'></a>\mbox{\label{casl2_8c_a94965649155359a4c4eb047af782bf22}} 
<a id='L162' name='L162'></a>\index{casl2.c@{casl2.c}!longopts@{longopts}}
<a id='L163' name='L163'></a>\index{longopts@{longopts}!casl2.c@{casl2.c}}
<a id='L164' name='L164'></a>\doxysubsubsection{longopts}
<a id='L165' name='L165'></a>{\footnotesize\ttfamily struct option longopts[$\,$]\hspace{0.3cm}{\ttfamily [static]}}
<a id='L166' name='L166'></a>
<a id='L167' name='L167'></a>{\bfseries Initial value\+:}
<a id='L168' name='L168'></a>\begin{DoxyCode}{0}
<a id='L169' name='L169'></a>\DoxyCodeLine{= \{}
<a id='L170' name='L170'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}source"{}}, no\_argument, NULL, \textcolor{charliteral}{'s'} \},}
<a id='L171' name='L171'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}label"{}}, no\_argument, NULL, \textcolor{charliteral}{'l'} \},}
<a id='L172' name='L172'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}labelonly"{}}, no\_argument, NULL, \textcolor{charliteral}{'L'} \},}
<a id='L173' name='L173'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}assembledetail"{}}, no\_argument, NULL, \textcolor{charliteral}{'a'} \},}
<a id='L174' name='L174'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}assembledetailonly"{}}, no\_argument, NULL, \textcolor{charliteral}{'A'} \},}
<a id='L175' name='L175'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}assembleout"{}}, optional\_argument, NULL, \textcolor{charliteral}{'o'} \},}
<a id='L176' name='L176'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}assembleoutonly"{}}, optional\_argument, NULL, \textcolor{charliteral}{'O'} \},}
<a id='L177' name='L177'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}trace"{}}, no\_argument, NULL, \textcolor{charliteral}{'t'} \},}
<a id='L178' name='L178'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}tracearithmetic"{}}, no\_argument, NULL, \textcolor{charliteral}{'t'} \},}
<a id='L179' name='L179'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}tracelogical"{}}, no\_argument, NULL, \textcolor{charliteral}{'T'} \},}
<a id='L180' name='L180'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}dump"{}}, no\_argument, NULL, \textcolor{charliteral}{'d'} \},}
<a id='L181' name='L181'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}monitor"{}}, no\_argument, NULL, \textcolor{charliteral}{'m'} \},}
<a id='L182' name='L182'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}memorysize"{}}, required\_argument, NULL, \textcolor{charliteral}{'M'} \},}
<a id='L183' name='L183'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}clocks"{}}, required\_argument, NULL, \textcolor{charliteral}{'C'} \},}
<a id='L184' name='L184'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}version"{}}, no\_argument, NULL, \textcolor{charliteral}{'v'} \},}
<a id='L185' name='L185'></a>\DoxyCodeLine{    \{ \textcolor{stringliteral}{"{}help"{}}, no\_argument, NULL, \textcolor{charliteral}{'h'} \},}
<a id='L186' name='L186'></a>\DoxyCodeLine{    \{ 0, 0, 0, 0 \},}
<a id='L187' name='L187'></a>\DoxyCodeLine{\}}
<a id='L188' name='L188'></a>
<a id='L189' name='L189'></a>\end{DoxyCode}
<a id='L190' name='L190'></a>
<a id='L191' name='L191'></a>
<a id='L192' name='L192'></a>casl2コマンドのオプション 
<a id='L193' name='L193'></a>
<a id='L194' name='L194'></a>
<a id='L195' name='L195'></a>
<a id='L196' name='L196'></a>Definition at line 19 of file casl2.\+c.
<a id='L197' name='L197'></a>
</pre>
<hr />
<a id='BOTTOM' name='BOTTOM'></a>
<em class='comment'>/* [&lt;][&gt;][^][v]<a href='#TOP'>[top]</a>[bottom]<a href='../mains.html'>[index]</a><a href='../help.html'>[help]</a> */</em>
</body>
</html>

/* [<][>][^][v][top][bottom][index][help] */