Browse Source

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

git-svn-id: trunk@31956 -

Jonas Maebe 9 years ago
parent
commit
e15c969cbc
1 changed files with 2 additions and 1 deletions
  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.