\doxysection{monitor.\+h}
\label{monitor_8h_source}\index{include/monitor.h@{include/monitor.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ YACASL2\_MONITOR\_H\_INCLUDE}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#define\ YACASL2\_MONITOR\_H\_INCLUDE}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ <stdio.h>}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <string.h>}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ <assert.h>}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#include\ "{}assemble.h"{}}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#include\ "{}exec.h"{}}}
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#include\ "{}load.h"{}}}
\DoxyCodeLine{00010\ }
\DoxyCodeLine{00014\ \textcolor{keyword}{enum}\ \{}
\DoxyCodeLine{00015\ \ \ \ \ MONARGSIZE\ =\ 3,\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00016\ \};}
\DoxyCodeLine{00017\ }
\DoxyCodeLine{00021\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\{}
\DoxyCodeLine{00022\ \ \ \ \ \textcolor{keywordtype}{int}\ argc;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00023\ \ \ \ \ \textcolor{keywordtype}{char}\ *argv[MONARGSIZE];\ \ \ \ \ \ }
\DoxyCodeLine{00024\ \}\ MONARGS;}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00029\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\{}
\DoxyCodeLine{00030\ \ \ \ \ \textcolor{keywordtype}{char}\ *cmd;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00031\ \ \ \ \ MONARGS\ *args;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00032\ \}\ MONCMDLINE;}
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00037\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\_BPSLIST\ \{}
\DoxyCodeLine{00038\ \ \ \ \ \textcolor{keyword}{struct\ }\_BPSLIST\ *next;\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00039\ \ \ \ \ WORD\ adr;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00040\ \}\ BPSLIST;}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00045\ \textcolor{keyword}{enum}\ \{}
\DoxyCodeLine{00046\ \ \ \ \ BPSTABSIZE\ =\ 251,\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00047\ \};}
\DoxyCodeLine{00048\ }
\DoxyCodeLine{00049\ \textcolor{keyword}{enum}\ \{}
\DoxyCodeLine{00050\ \ \ \ \ MONINSIZE\ =\ 40\ \ \ \ }
\DoxyCodeLine{00051\ \};}
\DoxyCodeLine{00052\ }
\DoxyCodeLine{00053\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{enum}\ \{}
\DoxyCodeLine{00054\ \ \ \ \ MONREPEAT\ =\ 0,}
\DoxyCodeLine{00055\ \ \ \ \ MONNEXT\ =\ 1,}
\DoxyCodeLine{00056\ \ \ \ \ MONQUIT\ =\ 2,}
\DoxyCodeLine{00057\ \}\ MONCMDTYPE;}
\DoxyCodeLine{00058\ }
\DoxyCodeLine{00066\ \textcolor{keywordtype}{unsigned}\ adrhash(WORD\ adr);}
\DoxyCodeLine{00067\ }
\DoxyCodeLine{00075\ MONARGS\ *monargstok(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *str);}
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00084\ MONCMDLINE\ *monlinetok(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *line);}
\DoxyCodeLine{00085\ }
\DoxyCodeLine{00094\ MONCMDTYPE\ monitorcmd(\textcolor{keywordtype}{char}\ *cmd,\ MONARGS\ *args);}
\DoxyCodeLine{00095\ }
\DoxyCodeLine{00103\ \textcolor{keywordtype}{bool}\ getbps(WORD\ adr);}
\DoxyCodeLine{00104\ }
\DoxyCodeLine{00112\ \textcolor{keywordtype}{bool}\ addbps(WORD\ adr);}
\DoxyCodeLine{00113\ }
\DoxyCodeLine{00114\ }
\DoxyCodeLine{00122\ \textcolor{keywordtype}{bool}\ delbps(WORD\ adr);}
\DoxyCodeLine{00123\ }
\DoxyCodeLine{00128\ \textcolor{keywordtype}{void}\ freebps();}
\DoxyCodeLine{00129\ }
\DoxyCodeLine{00134\ \textcolor{keywordtype}{void}\ monitor();}
\DoxyCodeLine{00135\ }
\DoxyCodeLine{00136\ \textcolor{preprocessor}{\#endif}}
\end{DoxyCode}