diff --git a/src/gbasm/opcodes.c b/src/gbasm/opcodes.c index eb8ccf9..20e7e4e 100644 --- a/src/gbasm/opcodes.c +++ b/src/gbasm/opcodes.c @@ -210,98 +210,98 @@ size_t ld_emit(struct emitter *emitter, struct gbasm_op_info gbasm_op_infos[] = { { .opcode = "nop", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = nop_emit, }, { .opcode = "halt", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = halt_emit, }, { .opcode = "stop", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = stop_emit, }, { .opcode = "di", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = di_emit, }, { .opcode = "ei", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = ei_emit, }, { .opcode = "rla", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = rla_emit, }, { .opcode = "rra", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = rra_emit, }, { .opcode = "rlca", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = rlca_emit, }, { .opcode = "rrca", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = rrca_emit, }, { .opcode = "daa", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = daa_emit, }, { .opcode = "scf", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = scf_emit, }, { .opcode = "reti", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = reti_emit, }, { .opcode = "cpl", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = cpl_emit, }, { .opcode = "ccf", - .operand_types = {}, + .operand_types = {0}, .check = check_no_args, .length = length_one_byte, .emit = ccf_emit,