Closed dylanmckay closed 7 years ago
Many instructions only take a subset of registers out of the register class.
For example, SBR Rd, Rr only works with the upper half of GP registers.
SBR Rd, Rr
Currently we print out the error "invalid operand" -- the same error that occurs if you put an immediate instead of a register.
Improve the error message so that the actual problem is elaborated on.
Not bothered with this anymore, can raise again in the future if it's ever actually a problem.
Many instructions only take a subset of registers out of the register class.
For example,
SBR Rd, Rr
only works with the upper half of GP registers.Currently we print out the error "invalid operand" -- the same error that occurs if you put an immediate instead of a register.
Improve the error message so that the actual problem is elaborated on.