Update instruction enums to capital w/ S

This commit is contained in:
Themis Demetriades 2024-05-31 17:11:43 +01:00
parent 3ce2d8d0f2
commit d4ff1ee40e

View File

@ -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;