Assembler: mode ".set at" required to enable wide immediates in 2-red macros.

This commit is contained in:
Sergey
2014-05-03 16:55:40 -07:00
parent 51a8fd3313
commit babef284ae

View File

@@ -1611,7 +1611,7 @@ foff16: expr_flags = 0;
}
if (valid_range) {
opcode |= offset & 0xffff;
} else if (orig_opcode == 0) {
} else if (orig_opcode == 0 || ! mode_at) {
uerror ("value out of range");
} else {
/* Convert back to 3-reg opcode.