20 lines
701 B
C
20 lines
701 B
C
#ifndef GB_ASM_ERRORS_H
|
|
#define GB_ASM_ERRORS_H
|
|
|
|
#include "gbasm/types.h"
|
|
|
|
void gbasm_unknown_opcode_error(const struct gbasm_parsed_inst *inst);
|
|
|
|
void gbasm_too_many_args_error(const struct gbasm_parsed_inst *inst,
|
|
const struct gbasm_op_info *opcode);
|
|
|
|
void gbasm_arg_wrong_type_error(const struct gbasm_parsed_inst *inst,
|
|
const struct gbasm_op_info *opcode);
|
|
|
|
void gbasm_too_few_args_error(const struct gbasm_parsed_inst *inst,
|
|
const struct gbasm_op_info *opcode);
|
|
|
|
void gbasm_invalid_imm_error(const struct gbasm_parsed_inst *inst,
|
|
const struct gbasm_op_info *opcode);
|
|
#endif
|