NASM - The Netwide Assembler
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Calendar
Login
Register
NASM - The Netwide Assembler
»
NASM Forum
»
Programming with NASM
»
pushq
« previous
next »
Print
Pages: [
1
]
Author
Topic: pushq (Read 11698 times)
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
»
Logged
Frank Kotler
NASM Developer
Hero Member
Posts: 2667
Country:
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
Logged
Olsonist
Jr. Member
Posts: 26
Re: pushq
«
Reply #2 on:
March 11, 2015, 11:12:25 PM »
Yep, that'll do. Thanks.
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Programming with NASM
»
pushq