From: Robert Pengelly Date: Sat, 8 Jun 2024 22:25:37 +0000 (+0100) Subject: Bug fix X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=3bf07cb7caf51ab7e6558cc0b5a003a042beee90;p=sasm.git Bug fix --- diff --git a/intel.c b/intel.c index c62edb7..a0192dc 100644 --- a/intel.c +++ b/intel.c @@ -3018,7 +3018,7 @@ static int check_word_reg (void) { } if ((instruction.types[op] & REG32) && (instruction.template.operand_types[op] & (REG16 | ACC))) { - report_at (get_filename (), get_line_number (), REPORT_ERROR, "using '%%%s' instead of '%%%s' due to '%c' suffix", (instruction.regs[op]-8)->name, instruction.regs[op]->name, instruction.suffix); + report_at (get_filename (), get_line_number (), REPORT_WARNING, "using '%%%s' instead of '%%%s' due to '%c' suffix", (instruction.regs[op]-8)->name, instruction.regs[op]->name, instruction.suffix); } }