%%
%%  MASTER'S THESIS OF IVO JANSSEN <janssen@cardit.et.tudelft.nl>
%%
\documentclass[11pt,twoside]{cardit}

\include{definitions}

\begin{document}

%%
%% PRE AMBLE
%%
\pagenumbering{roman}
\pagestyle{plain}
\include{front}

\include{abstract}
\cleardoublepage

\addcontentsline{toc}{chapter}{Table of contents}
\tableofcontents
\clearsinglepage

\addcontentsline{toc}{chapter}{List of figures}
\listoffigures
\cleardoublepage

\addcontentsline{toc}{chapter}{List of algorithms}
\listofalgorithms
\cleardoublepage

%%
%% THE CORE DOCUMENT
%%
\pagestyle{headings}
\pagenumbering{arabic}

\part{Prologue}
\include{chapter-intro}		%Introduction
\include{chapter-move}		%Move architecture general

\part{Endianness}
\include{chapter-end-overview}	%Endianness overview
\include{chapter-end-impl}	%Endianness implementation

\part{Immediates}
\include{chapter-limm-overview}	%Long immediate overview
\include{chapter-limm-impl}	%Long immediate implementation
\include{chapter-limm-review}	%Long immediate review

\part{Epilogue}
\include{chapter-conclusions}	%Conclusions & recommendations

%%
%% Appendixes: 
%%
\appendix
\include{appendix-end}		%Endianness related data structures
\include{appendix-limm}		%Long immediate data structures
\include{appendix-machs}	%Machfiles used in benchmarks

%%
%% BIBLIOGRAPHY
%%
\addcontentsline{toc}{chapter}{Bibliography}
\pagestyle{plain}
\bibliographystyle{alpha}
\bibliography{bibliography}

%hack for last page counter needs sectioning thing...
\subparagraph*{}
\label{lastpage}

%% THE END
\end{document}
