summaryrefslogtreecommitdiff
path: root/gas/config/tc-h8300.c
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2003-06-25 15:31:59 +0000
committerRichard Sandiford <rsandifo@nildram.co.uk>2003-06-25 15:31:59 +0000
commita3ff004f22d1e3980eb32d0f0785ca036c10c909 (patch)
treebb23459edab8d35079f7eae9f4f89a8d127b49a4 /gas/config/tc-h8300.c
parent0636cea0e854feffa842f43a04834411015f98bb (diff)
downloadbinutils-redhat-a3ff004f22d1e3980eb32d0f0785ca036c10c909.tar.gz
include/opcode/
* h8300.h (IMM2_NS, IMM8_NS, IMM16_NS): Remove. (IMM8U, IMM8U_NS): Define. (h8_opcodes): Use IMM8U_NS for mov.[wl] #xx:8,@yy. gas/ * config/tc-h8300.c (get_specific): Allow ':8' to be used for unsigned 8-bit operands. gas/testsuite/ * gas/h8300/h8sx_mov_imm.[sd]: Add tests for mov.[wl] #xx:8,@yy.
Diffstat (limited to 'gas/config/tc-h8300.c')
-rw-r--r--gas/config/tc-h8300.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-h8300.c b/gas/config/tc-h8300.c
index 6a6e3a87a6..646b69e8bf 100644
--- a/gas/config/tc-h8300.c
+++ b/gas/config/tc-h8300.c
@@ -1302,6 +1302,7 @@ get_specific (instruction, operands, size)
#endif
if (((x_size == L_16 && op_size == L_16U)
+ || (x_size == L_8 && op_size == L_8U)
|| (x_size == L_3 && op_size == L_3NZ))
/* We're deliberately more permissive for ABS modes. */
&& (op_mode == ABS