Author Topic: pushq  (Read 7441 times)

Offline Olsonist

  • Jr. Member
  • *
  • Posts: 26
pushq
« 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.
« Last Edit: March 11, 2015, 05:26:53 AM by Olsonist »

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: pushq
« Reply #1 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


Offline Olsonist

  • Jr. Member
  • *
  • Posts: 26
Re: pushq
« Reply #2 on: March 11, 2015, 11:12:25 PM »
Yep, that'll do. Thanks.