31 c9 41 e2 xx
Returns 0 in ecx if x86, -1 in rcx if x86-64

32-bit decodes to:
xorecx,ecx;2 bytes
incecx;ecx=1, 1 byte
loopl1;fall through in 32-bit mode, 2 bytes


64-bit decodes to:
xorecx,ecx;2 bytes
loopql1;REX special bits ignored for inapplicable sets, 3 bytes
32-bit code here:...
l1:
64-bit code:...

Copyright (c) 2014 Peter Ferrie
All rights reserved

This site is hosted by 000webhost.com



Free web hostingWeb hosting