letz assume I have this:
type
TImage = packed record
data : pointer;
width, height : dword;
end;
function foo(constref pic: TImage);
begin
{do something in pascal...}
asm
mov rax, [pic] // to access pic.data
end;
end;
this would not work

as I understand
how to access pic.data from an assembler block?