#ifndef ASM_ASM_CONST_H #define ASM_ASM_CONST_H #include "../emu/cpu_const.h" #include typedef struct { char label[64]; char instruction[4]; char arg1[64]; char arg2[64]; } AsmInstruction; typedef struct { uint16_t length; AsmInstruction *instruction; } AsmInstructionArray; typedef struct { CpuInstructions instruction; ArgumentInfo arg1Info; ArgumentInfo arg2Info; uint16_t arg1; uint16_t arg2; } BinaryInstruction; typedef struct { uint16_t length; BinaryInstruction *instructions; } BinaryInstructionArray; typedef struct { uint16_t length; uint16_t *values; } BinaryDataValueArray; typedef struct { char label[64]; uint16_t location; } AsmLabel; typedef struct { uint16_t length; AsmLabel *labels; } AsmLabelArray; #endif