Quote Originally Posted by Legolas
This compiles fine here:
[pascal]procedure MyAsmProc(Variable: word); assembler;
asm
mov r0,Variable
ldr r1,[r0]
end;[/pascal]
yes, it does for me too, but this:

[pascal]
var
test : word;

procedure MyAsmProc(Variable: word); assembler;
asm
mov r0,test
ldr r1,[r0]
end;[/pascal]

gives me the above error.

i did not recognize it works with local (?) variables, because i had the
code inlined in the main code.