aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-11-01 10:29:49 +0000
committerNick Clifton <nickc@redhat.com>2006-11-01 10:29:49 +0000
commit06d2da930da0c71b4ef494894382b62c6b5bd1e9 (patch)
treed172ce8a90e7ce2a9b449f8f3c9fa8c16dac7c3c /gas/config
parente916811ac68f772700e2a974459599c289ce5d11 (diff)
downloadgdb-06d2da930da0c71b4ef494894382b62c6b5bd1e9.zip
gdb-06d2da930da0c71b4ef494894382b62c6b5bd1e9.tar.gz
gdb-06d2da930da0c71b4ef494894382b62c6b5bd1e9.tar.bz2
* tc-score.c (do16_rdrs): Handle not! instruction especially.
* score-opc.h (score_opcodes): Delete modifier '0x'. * gas/score/rD_rA.d: Correct not! and not.c instruction disassembly. * gas/score/b.d: Correct b! and b instruction disassembly.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-score.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-score.c b/gas/config/tc-score.c
index 66c3031..385e9ce 100644
--- a/gas/config/tc-score.c
+++ b/gas/config/tc-score.c
@@ -1761,6 +1761,11 @@ do16_rdrs (char *str)
inst.relax_inst |= (((inst.instruction >> 8) & 0xf) << 15)
| (((inst.instruction >> 4) & 0xf) << 10);
}
+ else if ((inst.instruction & 0x700f) == 0x2006) /* not! */
+ {
+ inst.relax_inst |= (((inst.instruction >> 8) & 0xf) << 20)
+ | (((inst.instruction >> 4) & 0xf) << 15);
+ }
else
{
inst.relax_inst |= (((inst.instruction >> 8) & 0xf) << 20)