mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-06 19:10:36 +01:00
14 lines
198 B
ObjectPascal
14 lines
198 B
ObjectPascal
{ %CPU=i386 }
|
|
{$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.
|