What Dword do in x86 assembly?

271 Views Asked by At

I was studying assembly and I came across the question about the double word in assembly. So, assuming i'm programming for x86-64 and use the instruction CALL DWORD PTR DS: [402068], but how it works, since a word in x86-64 is 64 bits, a double word would be 128 bits, In this particular instruction he takes the DS address and uses it as an argument to CALL, and the rest is not important (and I don't know either) but if it were a word it would be simple to change EIP and then jump, but taking a double word, I don't see how it would jump if the registers that handle memory for execution are 64 (EIP and PC), the only option would be get 128, but only use 64, is that right?

0

There are 0 best solutions below