How it will look on with c++?
Code:@@mask: dw $000F, $003F, $00FF, $03FF, $0FFF, $3FFF @@tail: xor eax, eax cmp ecx, 7 jae @@exit movzx edx, word ptr [@@mask + ecx * 2 - 2] and ebx, edx cmp ebx, edx setz al
How it will look on with c++?
Code:@@mask: dw $000F, $003F, $00FF, $03FF, $0FFF, $3FFF @@tail: xor eax, eax cmp ecx, 7 jae @@exit movzx edx, word ptr [@@mask + ecx * 2 - 2] and ebx, edx cmp ebx, edx setz al
It depends, as we have no idea what ebx holds.
Is this exercise? I already know the answer, but I won't help you cheat at an assignment. Prove to us first that you are trying to solve it, and we will assist.
Devoted my life to programming...