Assembly - 64-bit registers supported?
Alex Rønne Petersen
alex at lycus.org
Sun Jan 20 04:57:25 PST 2013
On 19-01-2013 13:45, deed wrote:
> void main()
> {
> asm
> {
> mov RAX, 3;
> }
> }
>
> results in:
> Error: undefined identifier 'RAX'
>
> AX and EAX work.
>
> Anything missing or isn't it yet implemented?
You just need to pass -m64. The full x86-64 instruction set and all of
its registers are supported.
--
Alex Rønne Petersen
alex at alexrp.com / alex at lycus.org
http://lycus.org
More information about the Digitalmars-d-learn
mailing list