3 ms·
; pour one out for the homie xor rax, rax xor rbx, rcx xor rcx, rbx xor rbx, rcx Michael Abrash's books are worth reading: Zen of and the
by 1letterunixname 4y ago
; pour one out for the homie
xor rax, rax
xor rbx, rcx
xor rcx, rbx
xor rbx, rcx
Michael Abrash's books are worth reading: Zen of and the Black Book (free on github). Also, Hacker's Delight.
- acjohnson55 4y agoI love it. The cheapest way to zero out a register and the method to swap 1 registers without need of additional working memory.