NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: Olsonist on March 11, 2015, 04:46:47 AM

Title: pushq
Post by: Olsonist on March 11, 2015, 04:46:47 AM
Is it possible to get NASM to accept pushq RAX in addition to push qword RAX?
And of course popq. And movq.
Title: Re: pushq
Post by: Frank Kotler on March 11, 2015, 09:45:08 AM
I don't see why not...
Code: [Select]
%idefine pushq push qword
; etc.

"All these people that you mention,
yes I know them, they're quite lame.
I had to rearrange their faces,
and give them all another name" - Bob Dylan

Best,
Frank

Title: Re: pushq
Post by: Olsonist on March 11, 2015, 11:12:25 PM
Yep, that'll do. Thanks.