Change directory structure of files w/ S

This commit is contained in:
Themis Demetriades 2024-06-12 19:28:48 +01:00
parent 98a5c8a93c
commit 9dc460a047
16 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@ CFLAGS ?= -std=c17 -g\
all: assemble emulate all: assemble emulate
assemble: assemble.o assemble: assemble.o
emulate: emulate.o emulator/fileio.o emulator/execute.o emulator/decode.o emulator/print.o emulate: emulate.o util/fileio.o emulator/execute.o emulator/decode.o emulator/print.o emulator/machine_util.o util/binary_util.o
clean: clean:
$(RM) *.o assemble emulate emulator/fileio.o emulator/execute.o emulator/decode.o emulator/print.o $(RM) *.o assemble emulate emulator/execute.o emulator/decode.o

View File

@ -1,7 +1,7 @@
#ifndef __A64INSTRUCTION_GLOBAL__ #ifndef __A64INSTRUCTION_GLOBAL__
#define __A64INSTRUCTION_GLOBAL__ #define __A64INSTRUCTION_GLOBAL__
#include <stdint.h> #include <stdint.h>
#include "../../global.h" #include "../global.h"
// Specifies the register being referred to // Specifies the register being referred to
typedef uint8_t a64inst_regSpecifier; typedef uint8_t a64inst_regSpecifier;

View File

@ -11,7 +11,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "decode.h" #include "decode.h"
#include "../shared/binary_util.h" #include "../util/binary_util.h"
// Macro that calls getBit() for a bitfield whose constants follow the format // Macro that calls getBit() for a bitfield whose constants follow the format
// FIELDNAME_LSB and FIELDNAME_MSB, storing the result in the variable wrd // FIELDNAME_LSB and FIELDNAME_MSB, storing the result in the variable wrd

View File

@ -1,5 +1,5 @@
#include "../global.h" #include "../global.h"
#include "../shared/a64instruction/a64instruction.h" #include "../a64instruction/a64instruction.h"
#define HALT_WORD 0x8a000000 #define HALT_WORD 0x8a000000

View File

@ -2,7 +2,7 @@
#define __BINARY_UTIL__ #define __BINARY_UTIL__
#include "../global.h" #include "../global.h"
#include "a64instruction/a64instruction_global.h" #include "../a64instruction/a64instruction_global.h"
word getBits(word wrd, uint8_t lsb, uint8_t msb); word getBits(word wrd, uint8_t lsb, uint8_t msb);