andi wrote:
> how to use inline assembly in delphi . if i'm using win xp, then try
> to use 'out' or 'in' instruction , it will give me error message ->
> privileged instruction ....

You can use assembler in Delphi with the "asm" reserved word. What you 
can't do is get direct access to the hardware, which is what "in" and 
"out" were doing back in your 16-bit code.

> i can use driver like: inpout32.dll, but it means i cannot use
> assembly instruction. is there anything i can do if i still want the
> assembly?

Such a driver exists is _because_ you can't have direct I/O access.

-- 
Rob
__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to