root/doc_inner/doxygen/latex/assemble_8h_source.tex

/* [<][>][^][v][top][bottom][index][help] */
\doxysection{assemble.\+h}
\label{assemble_8h_source}\index{include/assemble.h@{include/assemble.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ YACASL2\_ASSEMBLE\_H\_INCLUDED}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#define\ YACASL2\_ASSEMBLE\_H\_INCLUDED}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ <stdbool.h>}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ "{}cerr.h"{}}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ "{}struct.h"{}}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#include\ "{}token.h"{}}}
\DoxyCodeLine{00008\ }
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00013\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\{}
\DoxyCodeLine{00014\ \ \ \ \ \textcolor{keywordtype}{bool}\ src;\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00015\ \ \ \ \ \textcolor{keywordtype}{bool}\ label;\ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00016\ \ \ \ \ \textcolor{keywordtype}{bool}\ onlylabel;\ \ \ \ \ \ \ }
\DoxyCodeLine{00017\ \ \ \ \ \textcolor{keywordtype}{bool}\ asdetail;\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00018\ \ \ \ \ \textcolor{keywordtype}{bool}\ onlyassemble;\ \ \ \ }
\DoxyCodeLine{00019\ \}\ ASMODE;}
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00024\ \textcolor{keyword}{extern}\ ASMODE\ asmode;}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00029\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\{}
\DoxyCodeLine{00030\ \ \ \ \ WORD\ ptr;\ \ \ \ \ }
\DoxyCodeLine{00031\ \ \ \ \ WORD\ lptr;\ \ \ \ }
\DoxyCodeLine{00032\ \ \ \ \ \textcolor{keywordtype}{char}\ *prog;\ \ \ }
\DoxyCodeLine{00033\ \}\ ASPTR;}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00038\ \textcolor{keyword}{extern}\ ASPTR\ *asptr;}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00043\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\{}
\DoxyCodeLine{00044\ \ \ \ \ \textcolor{keywordtype}{char}\ *prog;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00045\ \ \ \ \ \textcolor{keywordtype}{char}\ *label;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00046\ \ \ \ \ WORD\ adr;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00047\ \}\ LABELARRAY;}
\DoxyCodeLine{00048\ }
\DoxyCodeLine{00052\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\_LABELTAB\ \{}
\DoxyCodeLine{00053\ \ \ \ \ \textcolor{keyword}{struct\ }\_LABELTAB\ *next;\ \ \ \ \ }
\DoxyCodeLine{00054\ \ \ \ \ LABELARRAY\ *label;\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00055\ \}\ LABELTAB;}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00060\ \textcolor{keyword}{enum}\ \{}
\DoxyCodeLine{00061\ \ \ \ \ LABELTABSIZE\ =\ 251,\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00062\ \};}
\DoxyCodeLine{00063\ }
\DoxyCodeLine{00067\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{enum}\ \{}
\DoxyCodeLine{00068\ \ \ \ \ FIRST\ =\ 0,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00069\ \ \ \ \ SECOND\ =\ 1,\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00070\ \}\ PASS;}
\DoxyCodeLine{00071\ }
\DoxyCodeLine{00076\ \textcolor{keywordtype}{void}\ addcerrlist\_label();}
\DoxyCodeLine{00077\ }
\DoxyCodeLine{00086\ WORD\ getlabel(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *prog,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *label);}
\DoxyCodeLine{00087\ }
\DoxyCodeLine{00097\ \textcolor{keywordtype}{bool}\ addlabel(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *prog,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *label,\ WORD\ adr);}
\DoxyCodeLine{00098\ }
\DoxyCodeLine{00103\ \textcolor{keywordtype}{void}\ printlabel();}
\DoxyCodeLine{00104\ }
\DoxyCodeLine{00109\ \textcolor{keywordtype}{void}\ freelabel();}
\DoxyCodeLine{00110\ }
\DoxyCodeLine{00115\ \textcolor{keywordtype}{void}\ addcerrlist\_assemble();}
\DoxyCodeLine{00116\ }
\DoxyCodeLine{00127\ \textcolor{keywordtype}{bool}\ assemblefile(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *file,\ PASS\ pass);}
\DoxyCodeLine{00128\ }
\DoxyCodeLine{00138\ \textcolor{keywordtype}{bool}\ assemble(\textcolor{keywordtype}{int}\ filec,\ \textcolor{keywordtype}{char}\ *filev[],\ WORD\ adr);}
\DoxyCodeLine{00139\ }
\DoxyCodeLine{00145\ \textcolor{keywordtype}{void}\ outassemble(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *file);}
\DoxyCodeLine{00146\ }
\DoxyCodeLine{00147\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}

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