diff options
author | Nick Clifton <nickc@redhat.com> | 2005-10-14 08:33:27 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-10-14 08:33:27 +0000 |
commit | ab7c9a26e5eeedc00030c37b450457f6828bf661 (patch) | |
tree | f8bbc7598f302c40ec0fae67cbbe0d0fb6c6bd70 /opcodes/m32r-asm.c | |
parent | 7047dd1ea80cd5a3324af03f729f9735bd655a18 (diff) | |
download | gdb-ab7c9a26e5eeedc00030c37b450457f6828bf661.zip gdb-ab7c9a26e5eeedc00030c37b450457f6828bf661.tar.gz gdb-ab7c9a26e5eeedc00030c37b450457f6828bf661.tar.bz2 |
m32r.opc (parse_slo16): Do not assume a 32-bit host word size.
Diffstat (limited to 'opcodes/m32r-asm.c')
-rw-r--r-- | opcodes/m32r-asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/m32r-asm.c b/opcodes/m32r-asm.c index 53e6628..b45f720 100644 --- a/opcodes/m32r-asm.c +++ b/opcodes/m32r-asm.c @@ -144,7 +144,7 @@ parse_slo16 (CGEN_CPU_DESC cd, { value &= 0xffff; if (value & 0x8000) - value |= 0xffff0000; + value |= ~0xffff; } *valuep = value; return errmsg; |