scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit b0f91c40ff3f623c03b1ecbe5f929d3ef0b1a063
parent e267264d253dd0cecd0a3bd87b881b10df2a14cd
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 27 Sep 2017 08:04:40 +0200

[as] Extend list of intel registers

Diffstat:
as/target/x86/proc.h | 19++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/as/target/x86/proc.h b/as/target/x86/proc.h @@ -7,32 +7,49 @@ enum args { 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, AREG_SP, AREG_ESP, + AREG_RSP, + + AREG_BP, AREG_EBP, + AREG_RBP, AREP, };