Explorar el Código

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

git-svn-id: trunk@33867 -
Károly Balogh hace 9 años
padre
commit
77318be022
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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