~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to fpcsrc/tests/tbs/tb0270.pp

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{ %CPU=i386 }
 
2
{ Old file: tbs0316.pp }
 
3
{  }
 
4
 
 
5
{$asmmode intel}
 
6
 
 
7
procedure test(b : longint); assembler;
 
8
type
 
9
    splitlong = packed record b1, b2, b3, b4 : Byte; end;
 
10
asm
 
11
    mov splitlong(b).b2, al
 
12
end;
 
13
 
 
14
{$asmmode att}
 
15
 
 
16
procedure test2(b : longint); assembler;
 
17
type
 
18
    splitlong = packed record b1, b2, b3, b4 : Byte; end;
 
19
asm
 
20
    movb splitlong(b).b2, %al
 
21
end;
 
22
 
 
23
begin
 
24
end.