Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
electroly
5 months ago
|
parent
|
context
|
favorite
| on:
Why xor eax, eax?
Sure, lots of longer instructions have this effect. "xor eax,eax" is interesting because it's short. That zero immediate in "mov eax,0" is bigger than the entire "xor eax,eax" instruction.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: