I'm writing some boot code. so i want to mix 16bits and 32bits assembling.
it seems diffcult to do this in nasm.
what i want is something like this:
set-16bits-mode:
xor ax,ax
set-32bits-mode:
xor eax,eax
i want both the above instructions generate the same code 33 c0.