Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Mon Feb 29, 2016 3:39 pm Post subject: Setting a register to 0. Need help, thanks. |
|
|
If I understand correctly, the following code set a register to 0, for example:
However, why not just use:
Do those two lines of code produce the same result? If so, why still use "xor ecx,ecx"? Is it executed faster? Thanks a lot.
|
|