shithub: scc

Download patch

ref: 5eaa64cb0a375db8c155b3af9bead075fd5dce98
parent: 3bb75beeae0c2155114d96d2ef1fc52c98f2ad3e
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Sep 27 08:09:00 EDT 2017

[as] Small fix to register names

--- a/as/target/i386/proc.c
+++ b/as/target/i386/proc.c
@@ -18,7 +18,7 @@
 		"AH", AREG_AH,
 		"EAX", AREG_EAX,
 
-		"BC", AREG_BC,
+		"BC", AREG_BX,
 		"BL", AREG_BL,
 		"BH", AREG_BH,
 		"EBX", AREG_EBX,
--- a/as/target/x86/proc.h
+++ b/as/target/x86/proc.h
@@ -10,7 +10,7 @@
 	AREG_CS,
 	AREG_DS,
 	AREG_SS,
-	AREG_ES
+	AREG_ES,
 	AREG_FS,
 	AREG_GS,
 
@@ -68,9 +68,6 @@
 
 	AREG_SP,
 	AREG_SPL,
-	AREG_ESP,
-	AREG_RSP,
-
 	AREG_ESP,
 	AREG_RSP,