Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
retrac
on Jan 2, 2025
|
parent
|
context
|
favorite
| on:
The smallest Hello World program
Assuming it is initial zero
inc eax
is a byte shorter than mov al, 1
rep_lodsb
on Jan 2, 2025
[–]
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: