mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 08:28:08 +02:00
16 lines
236 B
ObjectPascal
16 lines
236 B
ObjectPascal
{ %skiptarget=android }
|
|
{ %CPU=i386 }
|
|
{ %OPT=-Cg- }
|
|
{$asmmode intel}
|
|
Type TFather = Object A : Integer; end;
|
|
TSon = Object (TFather) B : Integer; end;
|
|
|
|
Var Son : TSon;
|
|
|
|
begin
|
|
Asm
|
|
mov ax, Son.A
|
|
mov ax, Son.B
|
|
end;
|
|
end.
|