miniblog.
← Back to all posts
Wilfred Hughes
Dec 28, 2020 at 19:02
TIL that nasm does optimisation! It will convert `mov rax, 1` to `mov eax, 1` unless you specify -O0. Handy, but surprised me when tinkering with some machine code.