From 2d0d09ca83b867fe61190d259d2ed6c139c983f6 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 25 Jun 2003 15:31:59 +0000 Subject: 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. --- gas/config/tc-h8300.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gas/config') diff --git a/gas/config/tc-h8300.c b/gas/config/tc-h8300.c index 6a6e3a8..646b69e 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 -- cgit v1.1