aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2003-06-25 15:31:59 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2003-06-25 15:31:59 +0000
commit2d0d09ca83b867fe61190d259d2ed6c139c983f6 (patch)
tree80c448ff465c6c4d187b14b6e9d184c8fc925a9e /gas/config
parent8d1e520a64346de732712873fa90ca941bcab72d (diff)
downloadgdb-2d0d09ca83b867fe61190d259d2ed6c139c983f6.zip
gdb-2d0d09ca83b867fe61190d259d2ed6c139c983f6.tar.gz
gdb-2d0d09ca83b867fe61190d259d2ed6c139c983f6.tar.bz2
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')
-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 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