Explorar o código

fix a bogus R_INTREGISTER to be R_ADDRESSREGISTER in getopstr()

git-svn-id: trunk@25744 -
Károly Balogh %!s(int64=12) %!d(string=hai) anos
pai
achega
275031a0dd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/m68k/ag68kgas.pas

+ 1 - 1
compiler/m68k/ag68kgas.pas

@@ -171,7 +171,7 @@ interface
               for i:=RS_A0 to RS_SP do
                 begin
                   if i in o.addrregset^ then
-                   hs:=hs+gas_regname(newreg(R_INTREGISTER,i,R_SUBWHOLE))+'/';
+                   hs:=hs+gas_regname(newreg(R_ADDRESSREGISTER,i,R_SUBWHOLE))+'/';
                 end;
               delete(hs,length(hs),1);
               getopstr := hs;