Fix RL78 disassembly so that SP+OFFSET addressing always shows the offset, even when...
authorVinay Kumar <vinay.g@kpit.com>
Tue, 27 Oct 2015 14:00:40 +0000 (14:00 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 27 Oct 2015 14:00:40 +0000 (14:00 +0000)
commit02f12cd4669463a1b2346145808213adeb303e2d
tree173fc4a7a578830e6145027aeb31191d7229febb
parentc6486df5f1400d90a13df5c6dbd96aeaccf8225b
Fix RL78 disassembly so that SP+OFFSET addressing always shows the offset, even when zero.

PR binutils/19157
opcodes * rl78-decode.opc: Add 'a' print operator to mov instructions
using stack pointer plus index addressing.
* rl78-decode.c: Regenerate.

tests * gas/rl78: New directory.
* gas/rl78/rl78.exp: New test driver.
* gas/rl78/pr19157.s: New test source file.
* gas/rl78/pr19157.d: New test case.
gas/testsuite/ChangeLog
gas/testsuite/gas/rl78/pr19157.d [new file with mode: 0644]
gas/testsuite/gas/rl78/pr19157.s [new file with mode: 0644]
gas/testsuite/gas/rl78/rl78.exp [new file with mode: 0644]
opcodes/ChangeLog
opcodes/rl78-decode.c
opcodes/rl78-decode.opc