diff --git a/compiler/m68k/aasmcpu.pas b/compiler/m68k/aasmcpu.pas index 7868135b15..64805bad10 100644 --- a/compiler/m68k/aasmcpu.pas +++ b/compiler/m68k/aasmcpu.pas @@ -514,12 +514,18 @@ type case opcode of A_MOVE, A_MOVEQ, A_ADD, A_ADDQ, A_ADDX, A_SUB, A_SUBQ, A_SUBX, A_AND, A_LSR, A_LSL, A_ASR, A_ASL, A_EOR, A_EORI, A_OR, - A_MULS, A_MULU: + A_MULS, A_MULU, A_DIVS, A_DIVU, A_DIVSL, A_DIVUL: if opnr=1 then begin result:=operand_write; end else begin result:=operand_read; end; + A_DBRA: + if opnr=1 then begin + result:=operand_readwrite; + end else begin + result:=operand_read; + end; A_TST,A_CMP,A_CMPI: result:=operand_read; A_CLR, A_SXX: