r16/emu/cpu/instruction.h

18 lines
572 B
C
Raw Normal View History

2024-04-19 10:08:32 +00:00
#ifndef EMU_CPU_INSTRUCTION_H
#define EMU_CPU_INSTRUCTION_H
#include "../cpu_const.h"
#include "./ram.h"
#include "./register.h"
#include "./stack.h"
#include <stdbool.h>
2024-04-19 10:08:32 +00:00
#define LOG_INSTRUCTION_DATA
bool LogInstructionData(CpuInstructions instruction, ArgumentInfo arg1Info,
2024-04-22 11:08:57 +00:00
ArgumentInfo arg2Info, r16_int arg1, r16_int arg2,
r16_int arg1Val, r16_int arg2Val);
void ExecuteInstruction(CpuInstructions instruction, ArgumentInfo arg1Info,
ArgumentInfo arg2Info, r16_int arg1, r16_int arg2);
2024-04-19 12:11:28 +00:00
2024-04-19 10:08:32 +00:00
#endif