xor ecx, ecx cmp rax, 1 je end mov rcx, rax and rcx, 0xf cmp rcx, 6 lea rcx, [rax+7] cmovz rcx, [rax+0x1a] end: