flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
system error
I tried this simple code
Code: format ELF64 executable mov rdi,[m] and rdi,7FFFFFFFFh ;error: value out of range call exit m dq 56 Am I missing something here? |
|||
![]() |
|
revolution
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? |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.