Hello japheth, I believe there must be a way how to force JWASM to assemble (-coff -win64) the following code:
.code jmp eax ; Error A2049: Invalid instruction operands end
JWASM should let the coder to use address stored in 32-bit register if he wants so.
I've also tried to use the .X64 directive instead of the win64 option but I do something wrong apparently:
.X64 .code ; Error A2096: Model is not declared jmp eax end
I use JWasm v2.11, Oct 20 2013.
Intel docs marks
JMP r/m32
as N.S. in 64-bit code ( which I guess means "not supported" ).
64-bit Masm also rejects this syntax - you have to use "jmp rax" instead.
Doh, you're right, I should have read my own instruction reference first...
Log in to post a comment.
Hello japheth, I believe there must be a way how to force JWASM to assemble (-coff -win64) the following code:
JWASM should let the coder to use address stored in 32-bit register if he wants so.
I've also tried to use the .X64 directive instead of the win64 option but I do something wrong apparently:
I use JWasm v2.11, Oct 20 2013.
Last edit: MazeGen 2013-12-20
Intel docs marks
JMP r/m32
as N.S. in 64-bit code ( which I guess means "not supported" ).
64-bit Masm also rejects this syntax - you have to use "jmp rax" instead.
Doh, you're right, I should have read my own instruction reference first...