Sorry, I have put better img now, hmm just do a simple bootloader: init 32 bit mode, then execute your instruction: mov rax, 1.
Then look what your cpu do :p
PS: I testing actually to run this in 32 bit mode db 0xB8, 0x01, 0x00, 0x00, 0x00 ; mean mov rax, 1
My program didn't made error, so I will look if it's work by display eax.