summaryrefslogtreecommitdiff
path: root/tests/webtbs/tw2323.pp
blob: d063c55e324a77b55b764f3a6618906867735676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ %CPU=i386 }
{ %OPT=-Cg- }
{ Source provided for Free Pascal Bug Report 2323 }
{ Submitted by "marco" on  2003-01-16 }
{ e-mail: marco@freepascal.org }

{$Mode Delphi}
{$ASMMODE Intel}

var
  buf : array[0..255] of char;
begin
  asm
    lea ebx,buf
    add ebx,'('
    mov al, [ebx - '(']
  end;
end.