Browse Source

m68k: fix build errors with some assemblers on modulo calculation on 020+

git-svn-id: trunk@33867 -
Károly Balogh 9 years ago
parent
commit
77318be022
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/m68k/n68kmat.pas

+ 1 - 1
compiler/m68k/n68kmat.pas

@@ -168,7 +168,7 @@ implementation
 
   procedure tm68kmoddivnode.emit_mod_reg_reg(signed: boolean;denum,num : tregister);
     const
-      remop: array[boolean,boolean] of tasmop = ((A_DIVU,A_DIVS),(A_REMU,A_REMS));
+      remop: array[boolean,boolean] of tasmop = ((A_DIVUL,A_DIVSL),(A_REMU,A_REMS));
     var
       tmpreg : tregister;
     begin