mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-02 22:18:28 +02:00
15 lines
186 B
ObjectPascal
15 lines
186 B
ObjectPascal
{$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.
|
|
|
|
|