flat assembler
Message board for the users of flat assembler.

Index > Main > How get reg high part to low?

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1710
Roman 31 Mar 2024, 09:03
I want DO IN 32 BIT
Code:
Mov eax, 0xFFFF1010
GET TO CX FROM EAX VALUE 0XFFFF

    

HOW DO THIS WITHOUT ROL, ETC
AND ONE ASM COMMAND?

I know sarx and shlx asm commands.


Last edited by Roman on 31 Mar 2024, 12:10; edited 1 time in total
Post 31 Mar 2024, 09:03
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20179
Location: In your JS exploiting you and your system
revolution 31 Mar 2024, 10:33
Code:
shld ecx,eax,16    
Post 31 Mar 2024, 10:33
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1710
Roman 31 Mar 2024, 15:06
PEXT
Post 31 Mar 2024, 15:06
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.