summaryrefslogtreecommitdiff
path: root/thesis/approach.tex
diff options
context:
space:
mode:
Diffstat (limited to 'thesis/approach.tex')
-rw-r--r--thesis/approach.tex11
1 files changed, 11 insertions, 0 deletions
diff --git a/thesis/approach.tex b/thesis/approach.tex
new file mode 100644
index 0000000..6a7e852
--- /dev/null
+++ b/thesis/approach.tex
@@ -0,0 +1,11 @@
+\section{Approach}
+\label{sec:approach}
+
+It is possible to mix ARM and Thumb instructions:
+\enquote{[t]he ARM and Thumb instruction sets are designed to \emph{interwork} freely}~\citep{armv7m}.
+We could therefore decide to generate code for some sections using ARM instructions, and for other using Thumb instructions.
+This could potentially give better end results,
+if the code generator would recognise which instruction set is best in what case.
+However, some architectures, like ARMv7-M, only support Thumb instructions.
+I choose to look at Thumb instructions only,
+so that the widest range of architectures possible can be supported.