소스 검색

+ enable the internal error on OP_DIV and OP_IDIV in tcgmos6502.a_op_reg_reg_internal

Nikolay Nikolov 1 년 전
부모
커밋
bf7e93c64c
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      compiler/mos6502/cgcpu.pas

+ 6 - 6
compiler/mos6502/cgcpu.pas

@@ -807,12 +807,12 @@ unit cgcpu;
          //        end;
          //      gen_multiply(list,op,size,src,tmpreg,dst,false);
          //    end;
-         //
-         //  OP_DIV,OP_IDIV:
-         //    { special stuff, needs separate handling inside code
-         //      generator                                          }
-         //    internalerror(2017032604);
-         //
+
+           OP_DIV,OP_IDIV:
+             { special stuff, needs separate handling inside code
+               generator                                          }
+             internalerror(2017032604);
+
          //  OP_SHR,OP_SHL,OP_SAR,OP_ROL,OP_ROR:
          //    begin
          //      current_asmdata.getjumplabel(l1);