Peterson in x86 assembler (NASM)