From c07cbd12c98ccfc46d5ef9758faf1426746b4693 Mon Sep 17 00:00:00 2001 From: sBubshait Date: Thu, 30 May 2024 15:05:11 +0100 Subject: [PATCH] Move BYTE_BITS definition to decode.h, w/ T --- src/decode.h | 2 ++ src/emulator.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/decode.h b/src/decode.h index 75f2655..a76bcdd 100644 --- a/src/decode.h +++ b/src/decode.h @@ -1,4 +1,6 @@ #include "global.h" #include "a64instruction.h" +#define BYTE_BITS 8 + a64inst_instruction *decode(word w); \ No newline at end of file diff --git a/src/emulator.h b/src/emulator.h index b4ea4bf..34601ea 100644 --- a/src/emulator.h +++ b/src/emulator.h @@ -3,7 +3,6 @@ /************************************ * DEFINITIONS ************************************/ - #define BYTE_BITS 8 /************************************ * STRUCTS