From d4ff1ee40e2a322e9f835d02ad3ba8d8f05d64aa Mon Sep 17 00:00:00 2001 From: Themis Demetriades Date: Fri, 31 May 2024 17:11:43 +0100 Subject: [PATCH] Update instruction enums to capital w/ S --- src/a64instruction.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/a64instruction.h b/src/a64instruction.h index aaab669..f0f617f 100644 --- a/src/a64instruction.h +++ b/src/a64instruction.h @@ -1,21 +1,21 @@ #include "a64instruction_DPImmediate.h" - +#include "a64instruction_Branch.h" // Define the types of instructions in subset of the AArch64 Instruction Set implemented. // Each type is defined by the format of the instruction's operand(s). typedef enum { - a64inst_DPImmediate, - a64inst_DPRegister, - a64inst_SingleTransfer, - a64inst_LoadLiteral, - a64inst_Branch, - a64inst_Halt + a64inst_DPIMMEDIATE, + a64inst_DPREGISTER, + a64inst_SINGLETRANSFER, + a64inst_LOADLITERAL, + a64inst_BRANCH, + a64inst_HALT } a64inst_type; - // Structure the holds the type and operand data of an instruction typedef struct { a64inst_type type; union { a64inst_DPImmediateData DPImmediateData; + a64inst_BranchData BranchData; } data; } a64inst_instruction;