Changed 'cmp eax, 0' to 'test eax, eax'