@foone nasm is quite good at computing the needed sizes based off the destination register name. Though you can also help it out with annotations like DWORD PTR and such