Skip to content

Instantly share code, notes, and snippets.

@sglienke
sglienke / Swap32
Last active October 20, 2021 11:10
mov eax,ecx
shr eax,$10
and ecx,$0000ffff
mov edx,eax
and edx,$ffff0000
mov r8d,eax
and r8d,$000000ff
shl r8d,$08
and eax,$0000ff00
shr eax,$08