From 34eee8599e6896f187739d2a41ddb9e17aaa358b Mon Sep 17 00:00:00 2001 From: Themis Demetriades Date: Fri, 31 May 2024 17:25:51 +0100 Subject: [PATCH] Move register type struct to global header w/ S --- src/a64instruction_global.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/a64instruction_global.h b/src/a64instruction_global.h index 421a838..489fe06 100644 --- a/src/a64instruction_global.h +++ b/src/a64instruction_global.h @@ -1,4 +1,14 @@ +#ifndef __A64INSTRUCTION_GLOBAL__ +#define __A64INSTRUCTION_GLOBAL__ #include // Specifies the register being referred to typedef uint8_t a64inst_regSpecifier; + +// Denotes the type of register being referred to +typedef enum { + a64inst_W = 0, + a64inst_R = 1 +} a64inst_regType; + +#endif