News for hackers. Stuff that matters.
Re:0x40 Assembly Riddles by kaoD on Saturday January 10, 2015 @02:14PM (#8867588)
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.

Re:0x40 Assembly Riddles by jgeralnik on Saturday January 10, 2015 @02:17PM (#8867597)
Yup. The xadd opcode adds the two registers together and swaps them so that the previous element is always in the same register.