$ gas/as-new --version GNU assembler (GNU Binutils) 2.17.50.20070529 Copyright 2007 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. This assembler was configured for a target of `m32c-unknown-elf'.
This fails, although I think it should work: $ echo 'enter #4-4' | gas/as-new -o /tmp/test {standard input}: Assembler messages: {standard input}:1: Error: dsp:8 immediate is out of range `enter #4-4' It is not simply because the instruction doesn't support an immediate of zero: $ echo 'enter #0' | gas/as-new -o /tmp/test $ binutils/objdump --disassemble --wide --reloc /tmp/test /tmp/test: file format elf32-m32c Disassembly of section .text: 00000000 <.text>: 0: 7c f2 00 enter #0x0 3: 04 nop -- Summary: Error: dsp:8 immediate is out of range `enter #4-4' Product: binutils Version: 2.17 Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: rask at sygehus dot dk CC: bug-binutils at gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: m32c-unknown-elf http://sourceware.org/bugzilla/show_bug.cgi?id=4659 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils