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
Post a Comment