From e1d0653f6e6e3c7336be1d88922bad96fe5dd896 Mon Sep 17 00:00:00 2001
From: Camil Staps
Date: Sun, 12 Apr 2020 09:24:50 +0200
Subject: Fix x86 registers: ebp is scratch, not A2

---
 registers-x86.tex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'registers-x86.tex')

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 \\
-- 
cgit v1.2.3

