Browse Source

* mention modified registers in assembler block
* prevent writes beyond the end of the record

git-svn-id: trunk@31956 -

Jonas Maebe 10 năm trước cách đây
mục cha
commit
e15c969cbc
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      tests/tbs/tb0320.pp

+ 2 - 1
tests/tbs/tb0320.pp

@@ -8,6 +8,7 @@ const
 type
   trec=record
     a,b : longint;
+    c: longint;
   end;
 
 var
@@ -27,5 +28,5 @@ begin
     mov fs:[0468+trec.b],eax
     mov fs:[046ch],eax
 {$endif}
-  end;
+  end ['eax','esi'];
 end.