64 bit assembler > UASM Assembler Development

shrx encoding

(1/1)

Biterider:
Hi
By accident I wrote shrx rdx,3 and uasm (V 2.55) compiled it without errors.
When debugging I saw that it was decompiled as shrx rdx,rax,r15.
I suspect something is wrong with this instruction.  :rolleyes:

Biterider

Gunther:
Biterider,


--- Quote from: Biterider on May 02, 2022, 07:04:35 AM ---When debugging I saw that it was decompiled as shrx rdx,rax,r15.
I suspect something is wrong with this instruction.  :rolleyes:

--- End quote ---

it seems the same to me. Does it have consequences for your ObjAsm project?

Biterider:
Hi Gunther

--- Quote from: Biterider on May 02, 2022, 07:04:35 AM ---Does it have consequences for your ObjAsm project?

--- End quote ---
Not really, I was experimenting with a new algorithm where I wanted to use this instruction to avoid changing flags.

Biterider

Gunther:
Biterider,


--- Quote from: Biterider on May 02, 2022, 03:20:34 PM ---Not really, I was experimenting with a new algorithm where I wanted to use this instruction to avoid changing flags.

--- End quote ---

sounds ok. Good luck. :thumbsup:

johnsa:
Added to 2.56 github issue log. I will investigate :)

Navigation

[0] Message Index

Go to full version