No. const
is a 16-bit immediate operand that is
zero-extended to a 32-bit integer when it is copied to $d.
So it can't be negative.
There are better ways to do this.
But for now say that the problem is to
add
Recall that a two's comp. integer is made negative by reflecting the bits then adding one.