From f95d5d8da10151583dfc42e8d01e5286c88b4b61 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 28 Sep 2016 22:51:12 +0200 Subject: Typesetting --- thesis/fix-storing-pc.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thesis/fix-storing-pc.tex') diff --git a/thesis/fix-storing-pc.tex b/thesis/fix-storing-pc.tex index 4a203b3..fbc5853 100644 --- a/thesis/fix-storing-pc.tex +++ b/thesis/fix-storing-pc.tex @@ -61,7 +61,7 @@ This means that when the \ual{add} instruction above is at \ual{0x22}, However, in this case \ual{bl} is located at \ual{0x2a}, and since this is a 32 bits instruction we point to the middle of that instruction. In hand-written code, we can solve this by adding labels for the addresses we want to store on the stack. -In generated code, we need to keep track of the current alignment and add either \ual{9} or \ual{11} to the read program counter. +In generated code, we need to keep track of the current alignment and add either 9 or 11 to the read program counter. \subsubsection{Other solutions} Another solution than the one we present here is the use of the link register. -- cgit v1.2.3