Im under intel 64x linux:
i have procedure putPixel(where:gfxImage;x,y,col:dword);
gfxImage is: data:pointer; width,hieght:dword;
If I do
putPixel(where:gfxImage;x,y,col:dword); assembler;
asm
xor eax,eax
end;
I make a breakpoint to xor eax,eax.
the Lazarus debuger Local Variables shows me where.width = unrecodnizible value, so as where.height
if i change width and hieght to qword it works but I cannot change this type because of my architekture
If I do
putPixel(where:gfxImage;x,y,col:dword);
begin
asm
xor eax,eax
end;
end;
everything works.
I need a pure assembler procedure.