commit a8f970a7e2c9427feac2a8e8b1929eb4f1abdc70
parent 5bb98cac03edc44cf5e971b878b644409259594c
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Wed, 27 Sep 2017 12:09:00 +0100
[as] Small fix to register names
Diffstat:
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/as/target/i386/proc.c b/as/target/i386/proc.c
@@ -18,7 +18,7 @@ iarch(void)
"AH", AREG_AH,
"EAX", AREG_EAX,
- "BC", AREG_BC,
+ "BC", AREG_BX,
"BL", AREG_BL,
"BH", AREG_BH,
"EBX", AREG_EBX,
diff --git a/as/target/x86/proc.h b/as/target/x86/proc.h
@@ -10,7 +10,7 @@ enum args {
AREG_CS,
AREG_DS,
AREG_SS,
- AREG_ES
+ AREG_ES,
AREG_FS,
AREG_GS,
@@ -71,9 +71,6 @@ enum args {
AREG_ESP,
AREG_RSP,
- AREG_ESP,
- AREG_RSP,
-
AREG_BP,
AREG_BPL,
AREG_EBP,