Browse Source

Fixed constant reference in assembly code

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@8005 8c9fc860-2736-0410-a75d-ab315db34111
eth.negelef 7 years ago
parent
commit
f17bf53d2a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/Oberon.Compilation.Test

+ 1 - 1
source/Oberon.Compilation.Test

@@ -39301,7 +39301,7 @@ positive: export inline code with reference to (local) constant
 	PROCEDURE -P*;
 	PROCEDURE -P*;
 	CONST const=16;
 	CONST const=16;
 	CODE{SYSTEM.i386}
 	CODE{SYSTEM.i386}
-		MOV EAX,[EAX+const]
+		MOV EAX,const
 	END P;
 	END P;
 	END Test.
 	END Test.