浏览代码

* disabled pic
* mark eax as used in assembler block in main program

git-svn-id: trunk@32689 -

Jonas Maebe 9 年之前
父节点
当前提交
0df558af36
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      tests/webtbs/tw29096.pp

+ 2 - 1
tests/webtbs/tw29096.pp

@@ -10,6 +10,7 @@ program asm_bug;
 {$CODEALIGN VARMAX=1}
 {$CODEALIGN CONSTMIN=1}
 {$CODEALIGN CONSTMAX=1}
+{$PIC off}
 {$ENDIF}
 
 {$ALIGN 1}
@@ -117,7 +118,7 @@ ASM
   mov [c2] , 2
   mov [c1] , 1
   mov [c0] , 0
-end;
+end ['eax'];
    writeln(c0:3,c1:3,c2:3,c3:3, '    must be:[0 1 2 3] glo');  //___
    if (c0<>0) or
       (c1<>1) or