flat assembler
Message board for the users of flat assembler.
Index
> Linux > Linux 64-bit. Why is this out-of-range? |
Author |
|
revolution 28 Oct 2014, 08:58
The x86 instructions can't encode the constant 2^35-1 with the AND.
You can use "mov rax,0x7ffffffff" and "and rdi,rax". Or did you mean 2^31-1 i.e. 0x7fffffff? |
|||
28 Oct 2014, 08:58 |
|
system error 28 Oct 2014, 09:12
revolution wrote: The x86 instructions can't encode the constant 2^35-1 with the AND. Ok. That helps. Plus, probably no such thing as AND R64,IMM64 in 64-bit mode anyway. p/s: Server is too slow. I don't know, could be my internet quota limit as well. |
|||
28 Oct 2014, 09:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.