`movsxd` moves some smaller data into a larger destination by sign-extending it.
First of all, `movsxd` should only be used on integers, so I very highly doubt it's a double. It's weird to store floating point data in general purpose registers anyway (memcpy being an exception).
Secondly, there are very few instructions that take 64-bit immediate values. `movsxd` isn't one of them.
Just use mov:
Code:
mov rcx,1000
If it doesn't work, make sure that instruction is only accessing the address you want. _________________
I don't know where I'm going, but I'll figure it out when I get there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum