summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/tbs/tb0071.pp
blob: bfa0a7b6b63cbd4a005e6e4554abdb45d6703fb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ Old file: tbs0078.pp }
{  Shows problems with longint constant in intel asm     OK 0.99.1 (CEC) }

{ shows error with asm_size_mismatch }
Begin
{$ifdef CPUI386}
{$asmmode intel }
 asm
   mov eax, 2147483647
   mov eax, 2000000000
 end;
{$endif CPUI386}
{$ifdef CPU68K}
  asm
    move.l #2147483647,d0
    move.l #2000000000,d1
  end;
{$endif CPU68K}
end.