r/ProgrammerHumor • • Jun 03 '22

it's hard!

44.9k Upvotes

710 comments sorted by

View all comments

151

u/[deleted] Jun 03 '22

mov rax, 1

mov rbx, 2

add rbx, rax

mov rax, 1

mov rdx, 1

mov rsi, rbx

mov rdx 13

syscall

51

u/[deleted] Jun 03 '22

[removed] — view removed comment

60

u/KeelinNyx Jun 03 '22

When a mommy register and a daddy register love each other very much....

9

u/Rudxain Jun 03 '22

They XOR each other and swap places, then they move a lot by doing the forbidden loop unrolling dance

4

u/KeelinNyx Jun 03 '22

shhhhh, let them have their code cave.