commit 0e02898f0e483ce787a34f2d94440992c551c698
parent 978b7ce3891b64e11d540b22d76054966bbf16e7
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Wed, 27 Sep 2017 14:02:29 +0100
[as-386] Update iarch() reg list
Diffstat:
1 file changed, 49 insertions(+), 0 deletions(-)
diff --git a/as/target/i386/proc.c b/as/target/i386/proc.c
@@ -13,6 +13,13 @@ iarch(void)
char *name;
char type;
} regs[] = {
+ "CS", AREG_CS,
+ "DS", AREG_DS,
+ "SS", AREG_SS,
+ "ES", AREG_ES,
+ "FS", AREG_FS,
+ "GS", AREG_GS,
+
"AX", AREG_AX,
"AL", AREG_AL,
"AH", AREG_AH,
@@ -34,11 +41,53 @@ iarch(void)
"EDX", AREG_EDX,
"SI", AREG_SI,
+ "ESI", AREG_ESI,
"DI", AREG_DI,
+ "EDI", AREG_EDI,
"SP", AREG_SP,
"ESP", AREG_ESP,
+
+ "BP", AREG_BP,
"EBP", AREG_EBP,
+
+ "R0", AREG_R0,
+ "MM0", AREG_MM0,
+ "R1", AREG_R1,
+ "MM1", AREG_MM1,
+ "R2", AREG_R2,
+ "MM2", AREG_MM2,
+ "R3", AREG_R3,
+ "MM3", AREG_MM3,
+ "R4", AREG_R4,
+ "MM4", AREG_MM4,
+ "R5", AREG_R5,
+ "MM5", AREG_MM5,
+ "R6", AREG_R6,
+ "MM6", AREG_MM6,
+ "R7", AREG_R7,
+ "MM7", AREG_MM7,
+
+ "XMM0", AREG_XMM0,
+ "XMM1", AREG_XMM1,
+ "XMM2", AREG_XMM2,
+ "XMM3", AREG_XMM3,
+ "XMM4", AREG_XMM4,
+ "XMM5", AREG_XMM5,
+ "XMM6", AREG_XMM6,
+ "XMM7", AREG_XMM7,
+
+ "YMM0", AREG_YMM0,
+ "YMM1", AREG_YMM1,
+ "YMM2", AREG_YMM2,
+ "YMM3", AREG_YMM3,
+ "YMM4", AREG_YMM4,
+ "YMM5", AREG_YMM5,
+ "YMM6", AREG_YMM6,
+ "YMM7", AREG_YMM7,
+
+ "MXCSR", AREG_MXCSR,
+
NULL
}, *bp;