mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-20 07:11:43 +02:00
15 lines
173 B
ObjectPascal
15 lines
173 B
ObjectPascal
var i:integer;
|
|
{$i386_intel}
|
|
{ "mov i,1"
|
|
is like
|
|
"mov word ptr [i],1"
|
|
or
|
|
movw i,$1 in ATT syntax }
|
|
|
|
begin
|
|
asm
|
|
mov i, 1
|
|
end;
|
|
if i <> 1 then
|
|
halt(1);
|
|
end. |