flat assembler
Message board for the users of flat assembler.
Index
> Main > sub rdx,$2B6109100 out of range, why? |
Author |
|
vid 25 Jul 2009, 04:30
There is no such instruction (sub r64, imm64). You may want to read this: http://x86asm.net/articles/x86-64-tour-of-intel-manuals/index.html
|
|||
25 Jul 2009, 04:30 |
|
Azu 25 Jul 2009, 04:48
http://x86asm.net/articles/x86-64-tour-of-intel-manuals/index.html wrote:
It looks like I should be able to do it with a prefix or something? |
|||
25 Jul 2009, 04:48 |
|
bitRAKE 25 Jul 2009, 05:33
10 bytes...
Code: push -$56C21220 pop rax lea rdx,[rdx+rax*8] |
|||
25 Jul 2009, 05:33 |
|
bitRAKE 25 Jul 2009, 07:51
Not without merging more functionality, imho.
Code: use64 bitRAKE:push -$56C21220 pop rax lea rdx,[rdx+rax*8] Azu: mov rax,(1 shl 64)-$2B6109100 add rax,rdx display $30 - Azu - Azu + $ + bitRAKE |
|||
25 Jul 2009, 07:51 |
|
Azu 25 Jul 2009, 07:54
aaaa where'd my post go
|
|||
25 Jul 2009, 07:54 |
|
asmcoder 25 Jul 2009, 13:58
[content deleted]
Last edited by asmcoder on 14 Aug 2009, 14:48; edited 5 times in total |
|||
25 Jul 2009, 13:58 |
|
Borsuc 25 Jul 2009, 14:52
he was talking about sub, not mov
|
|||
25 Jul 2009, 14:52 |
|
asmcoder 25 Jul 2009, 14:59
[content deleted]
Last edited by asmcoder on 14 Aug 2009, 14:48; edited 1 time in total |
|||
25 Jul 2009, 14:59 |
|
Azu 25 Jul 2009, 20:14
asmcoder wrote:
|
|||
25 Jul 2009, 20:14 |
|
Borsuc 25 Jul 2009, 21:19
No, there simply is no instruction encoding for it.
_________________ Previously known as The_Grey_Beast |
|||
25 Jul 2009, 21:19 |
|
Azu 25 Jul 2009, 23:24
The instruction encodings aren't part of the specification?
|
|||
25 Jul 2009, 23:24 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.