Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Assuming it is initial zero

   inc eax
is a byte shorter than mov al, 1


Yes, but only in 32 bit mode. Not that it matters, except for the hypothetical future processor or Linux kernel that is no longer compatible with that :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: