I have the following MASM code segment which causes an error:
x2_0 equ 0FFFFFFFFFFFFFFFEh
x2_1 equ 0FFFFFFFFFFFFFFFFh
movq rax, x2_0
sub rbx, rax
movq rax, x2_1
sbb r9, rax
sbb r10, rax
sbb r11, rax
sbb r12, rax
The `x2_0` and `x2_1` are defined at the top of the file under `.const`, and the assembly code is part of a function, though, I just put a segment here, as it is where I get the error. I get the error shown below in `movq rax, x2_0` and `movq rax, x2_1` lines:
> error A2150:word register cannot be first operand
If I change the `movq` to `mov` the error disappears, but I fail to grasp the significance of this error and what it wants to tell me.