flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
alexfru 07 Feb 2018, 23:55
cmovcc's source operand is either a register or a memory operand. It does not take an immediate.
|
|||
![]() |
|
revolution 08 Feb 2018, 03:15
It is a serious oversight on Intel's part. CMOVcc doesn't support immediate operands, as alexfru states.
One possible way around it is this: Code: mov rdx,modbus_ascii_txt ; use a temporary register cmove rax,rdx |
|||
![]() |
|
fatygant 08 Feb 2018, 08:35
Thank you alexfru and revolution!
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.