Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
camperman
on Jan 31, 2016
|
parent
|
context
|
favorite
| on:
Ask HN: What's the most elegant piece of code you'...
A quiz question from the old Imphobia demo diskmag: a single instruction to extend a byte value in al across a full 32-bit word. Impossible right? Nope:
imul 0x01010101
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: