Hi All,
I have 2 doubts/problem
1) I am writing assembly code to integrate with Visual Studio 13.
Snippet :
mov rax, 0
db 0x49,0x0F,0xC7,0xF8 ;will transfer data to r8 register
jnc .1
mov [rcx], r8
inc rax
ret
.1
ret
I am getting following error:
error: impossible combination of address sizes If I comment out the statement I am getting following error:
error: instruction not supported in 32-bit mode
I have tried compiling using Command Line line as well as in Visual Studio.
Doubt:2)
I have 2 identical .asm file(copy pasted). One of them is compiling successfully but other one giving error.
What could be the possible reason for this?? Again I have tried both - Visual Studio and Command Line.
Please let me know if you any further information or clarification.
Thanks...