The difference between PUSH and PUSHQ in at&t assembly
I've recently started my quest of obtaining a greater understanding as to how my computer works. My question is regarding the differences between push and pushq. I'm aware that push writes a value to the stack and my assumption is that pushq does something similar. The fact that 'q' is there, makes me think that there should be a subtle difference but I can't seem to make sense of the difference. I started to ponder this question while debugging the file /lib/udev/iphone-set-info using gdb with the command 'layout asm'. The code in question is : pushq $0x0 push %r9 I understand that $0x0 is he
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.