Memory locations

[b][red]This message was edited by bpajk at 2003-10-11 2:3:12[/red][/b][hr]
Is it posible to reassign a variable to a certain locatin in the memory? I use Free Pascal assembler.

Example:
[CODE]
//I want to point y to location x
var x,y:byte;
Begin
x:=1;
asm
LEA eBX, x
//I am missing the code or command here
end;
writeln(y) //should be 1
End.
[/CODE]

Thank you in advance.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories