aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cdecl-contents.tex2
-rw-r--r--registers-x86.tex5
2 files changed, 4 insertions, 3 deletions
diff --git a/cdecl-contents.tex b/cdecl-contents.tex
index d1b126b..2b6656f 100644
--- a/cdecl-contents.tex
+++ b/cdecl-contents.tex
@@ -5,4 +5,4 @@ Result: & eax &&&&& \\
& d0 &&&&& \\
\hline
Callee-saved: & ebx & ebp & esp & esi & edi & \\
- & d1 & a2 & sp & a3 & a4 &
+ & d1 & scr & sp & a3 & a4 &
diff --git a/registers-x86.tex b/registers-x86.tex
index b0d714f..81bbbb3 100644
--- a/registers-x86.tex
+++ b/registers-x86.tex
@@ -3,7 +3,6 @@
\begin{tabular}{ll}
A0 & ecx \\
A1 & edx \\
- A2 & ebp \\
\hline
B0 & eax \\
B1 & ebx \\
@@ -11,6 +10,8 @@
asp & esi \\
bsp & esp \\
hp & edi \\
+ \hline
+ scratch & ebp \\
\end{tabular}%
}%
\hfill%
@@ -21,7 +22,7 @@
ecx & A0 \\
edx & A1 \\
\hline
- ebp & A2 \\
+ ebp & scratch \\
edi & hp \\
esi & asp \\
esp & bsp \\