Browse Source

* use $asmmode instead of obsolete $i386_intel

peter 24 years ago
parent
commit
303ecb3ad2
2 changed files with 5 additions and 3 deletions
  1. 4 2
      tests/webtbs/tw0919.pp
  2. 1 1
      tests/webtbs/tw1023.pp

+ 4 - 2
tests/webtbs/tw0919.pp

@@ -1,5 +1,7 @@
- var i:integer;
-{$i386_intel}
+{ %cpu=i386 }
+
+var i:integer;
+{$asmmode intel}
 { "mov i,1"
 { "mov i,1"
    is like
    is like
   "mov word ptr [i],1"
   "mov word ptr [i],1"

+ 1 - 1
tests/webtbs/tw1023.pp

@@ -2,7 +2,7 @@
 { Submitted by "Denis Yarkovoy" on  2000-07-03 }
 { Submitted by "Denis Yarkovoy" on  2000-07-03 }
 { e-mail: [email protected] }
 { e-mail: [email protected] }
  {$goto on}
  {$goto on}
- {$i386_intel}
+ {$asmmode intel}
  label l1;
  label l1;
 
 
 var
 var