flat assembler
Message board for the users of flat assembler.
Index
> Main > B.S. WAP |
Author |
|
revolution 13 Jun 2008, 04:45
Code: macro bswap reg { if reg eq eax xchg ah,al ror eax,16 xchg ah,al else if reg eq ebx xchg bh,bl ror ebx,16 xchg bh,bl else if reg eq ecx xchg ch,cl ror ecx,16 xchg ch,cl else if reg eq edx xchg dh,dl ror edx,16 xchg dh,dl else xchg reg,eax xchg ah,al ror eax,16 xchg ah,al xchg reg,eax end if } |
|||
13 Jun 2008, 04:45 |
|
DOS386 14 Jun 2008, 11:43
Oops even easier than I had thought ... thanks
|
|||
14 Jun 2008, 11:43 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.