View Single Post
Old 30th November 2017, 18:26   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,092
Win 10 FCU left shifts the 16-bit parameter (in ECX) and ORs it with EAX (the bottom right shifted bits) at the end.

Win 8 has the registers swapped and EAX is ANDed with 0xff before it is left shifted.

The source code has probably not changed, the compiler has swapped things around and removed one 10 byte instruction.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote