summaryrefslogtreecommitdiff
path: root/thesis/thesis.tex
blob: 9bcd3188e54bc56497f71955fa9ac73668a0c2ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
%&thesis
\begin{document}

\ifdraft
	\begin{center}
		{\Large Bachelor Thesis}

		\textcolor{red}{\emph{This is a draft version. The layout has been changed to save paper.}}
	\end{center}
\else
	\maketitleru[
		course={Bachelor Thesis\\[.4em]Computer Science},
		authorstext={Author:},
		authors={Camil Staps},
		righttextheader={First supervisor:},
		righttext={prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer},
		righttextBheader={Second supervisor:},
		righttextB={drs.~J.H.G.~van~Groningen},
		pagenr=1]
	\setcounter{page}{2}
	\cleardoublepage
\fi

\begin{abstract}
The Thumb-2 instruction set combines the best features of the ARM and Thumb instruction sets (speed and small code size, respectively).
We discuss the differences between the ARM and Thumb-2 instruction sets,
	and their influences on code generation.
Specifically, we look at code generation for the purely functional programming language Clean.
\todo{results, efficiency, etc.}
\end{abstract}

\ifdraft\else
\cleardoublepage
\fi

\ifdraft
	\begin{multicols}{2}
		\tableofcontents
	\end{multicols}
\else
	\thispagestyle{empty}
	\tableofcontents
\fi

\ifdraft\else
\cleardoublepage
\fi

\input{intro}
\input{storing-pc}
\input{code-addresses}
\input{results}

\ifdraft\else
\cleardoublepage
\fi
\appendix
\input{abbr}

\ifdraft\else
\cleardoublepage
\fi

\let\oldurl\url
\renewcommand{\url}[1]{{\small\oldurl{#1}}}
\phantomsection\addcontentsline{toc}{section}{\bibname}
\printbibliography

\end{document}