shithub: scc

Download patch

ref: c7c7ed3c3091cff6192a98a86044ffb361a41527
parent: 4b53e7160f467835c7797453b408122069fd606b
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue May 15 16:04:12 EDT 2018

[as/8086] Add Register classes for reg8 and reg16

--- a/as/target/x86/proc.h
+++ b/as/target/x86/proc.h
@@ -147,3 +147,8 @@
 
 	AREG_MXCSR,
 };
+
+enum {
+	AREG8,
+	AREG16,
+};
--- a/as/target/x86/rules.dat
+++ b/as/target/x86/rules.dat
@@ -1,3 +1,5 @@
+^reg8	AREG8
+^reg16	AREG16
 ^imm8	AIMM8
 ^imm16	AIMM16
 ^imm32	AIMM32