Comment on The smallest Hello World programparentComments−retrac1yAssuming it is initial zero inc eax is a byte shorter than mov al, 1−rep_lodsb1yYes, 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 :)
Comments
Assuming it is initial zero
is a byte shorter than mov al, 1Yes, 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 :)