shithub: scc

Download patch

ref: fbda4d2f6e83494a87411fff60ec4e6981ed129d
parent: 1bc054f7b7f8cd2fa8eea85929bf6d06f8bf787f
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Sep 27 04:04:40 EDT 2017

[as] Extend list of intel registers

--- a/as/target/x86/proc.h
+++ b/as/target/x86/proc.h
@@ -7,25 +7,38 @@
         AIMM32,
         AIMM64,
 
+	AREG_CS,
+	AREG_DS,
+	AREG_SS,
+	AREG_ES
+	AREG_FS,
+	AREG_GS,
+
+	AREG_EFLAGS,
+
 	AREG_AX,
 	AREG_AL,
 	AREG_AH,
 	AREG_EAX,
+	AREG_RAX,
 
-	AREG_BC,
+	AREG_BX,
 	AREG_BL,
 	AREG_BH,
 	AREG_EBX,
+	AREG_RBX,
 
 	AREG_CX,
 	AREG_CL,
 	AREG_CH,
 	AREG_ECX,
+	AREG_RCX,
 
 	AREG_DX,
 	AREG_DL,
 	AREG_DH,
 	AREG_EDX,
+	AREG_RDX,
 
 	AREG_SI,
 	AREG_DI,
@@ -32,7 +45,11 @@
 
 	AREG_SP,
 	AREG_ESP,
+	AREG_RSP,
+
+	AREG_BP,
 	AREG_EBP,
+	AREG_RBP,
 
         AREP, 
 };