assembly - Push and Pop on AMD64 -


what equivilent of pushl %ecx , popl %ecx on amd64 sytem, results error: invalid instruction suffix 'push' have had , 1 suggested changing ecx rcx resulted in incorrect register '%rcx' used 'l' suffix

thanks help.

on amd64, push , pop operations implicitly 64-bits , have no 32-bit counterparts. try:

pushq %rcx popq %rcx 

see here details.


Comments

Popular posts from this blog

c# - IMAP GMAIL getting folder list problem -

CUDA shared memory -