From 088cfd5da537f2f64d75216b57721a47d0e9832f Mon Sep 17 00:00:00 2001 From: nickysn Date: Thu, 23 Apr 2020 02:07:25 +0000 Subject: [PATCH] * write a warning in the assembler output, instead of stopping with an internal error in tcgz80.a_op_reg_reg_internal for OP_MUL/OP_IMUL, so that more RTL code can be compiled git-svn-id: branches/z80@45022 - --- compiler/z80/cgcpu.pas | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/compiler/z80/cgcpu.pas b/compiler/z80/cgcpu.pas index cc64932185..08e6199e84 100644 --- a/compiler/z80/cgcpu.pas +++ b/compiler/z80/cgcpu.pas @@ -793,9 +793,12 @@ unit cgcpu; end; OP_MUL,OP_IMUL: - { special stuff, needs separate handling inside code - generator } - internalerror(2017032604); + begin + { special stuff, needs separate handling inside code + generator } + list.Concat(tai_comment.Create(strpnew('WARNING! not implemented: a_op_reg_reg_internal OP_MUL/OP_IMUL'))); + {internalerror(2017032604);} + end; OP_DIV,OP_IDIV: { special stuff, needs separate handling inside code