Fix display of RL78 MOVW instructions that use the stack pointer.
authorNick Clifton <nickc@redhat.com>
Thu, 14 Jan 2016 16:23:35 +0000 (16:23 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 14 Jan 2016 16:23:35 +0000 (16:23 +0000)
commit4d82fe66e8d38b20ad429cb99a99ed8741336d72
tree56de9e0bebe4497372817e943c106ccdb8124aa1
parente7cf25a8ab54cd02b48e7443ef25764475f02315
Fix display of RL78 MOVW instructions that use the stack pointer.

* rl78-decode.opc (rl78_decode_opcode): Add 's' operand to movw
instructions that can support stack pointer operations.
* rl78-decode.c: Regenerate.
* rl78-dis.c: Fix display of stack pointer in MOVW based
instructions.

* testsuite/gas/rl78/sp-relative-movw.s: New test.
* testsuite/gas/rl78/sp-relative-movw.d: Expected disassembly.
* testsuite/gas/rl78/rl78.exp: Run the new test.
gas/ChangeLog
gas/testsuite/gas/rl78/rl78.exp
gas/testsuite/gas/rl78/sp-relative-movw.d [new file with mode: 0644]
gas/testsuite/gas/rl78/sp-relative-movw.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/rl78-decode.c
opcodes/rl78-decode.opc
opcodes/rl78-dis.c
This page took 0.025256 seconds and 4 git commands to generate.