Thanks!
What I don't understand is why would we need rax register in the inline assembly?

As I only need to flip the 16th bit of cr0, so using eax should suffice?
As I don't need to address the whole register.