Re:0x40 Assembly Riddles
by jgeralnik on Saturday January 10, 2015 @11:58AM
(#8867126)
Agreed. The second snippet (http://www.xorpd.net/pages/xchg_rax/snip_01.html) is relatively simple to understand and is now my favorite two opcode program.
[ Parent
| on HN ]
Is this the Fibonacci sequence?
EDIT: For anyone curious, being rax and rdx the starting terms, the rcx-th term is found in rax at the end of the loop.