S12Z: Fix disassembly of indexed OPR operands with zero index.
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 31 Dec 2018 07:48:10 +0000 (07:48 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 9 Jan 2019 18:44:27 +0000 (19:44 +0100)
commit39f286cd585226ad98c2cd94ee0f96988b3696ce
tree3591de05526bf6d13fed663e2d8cbc1d0ae4118a
parent041be52673949e5b6cc2b507e55a379a54ab8ee0
S12Z: Fix disassembly of indexed OPR operands with zero index.

gas/
* testsuite/gas/s12z/jsr.s: New case.
* testsuite/gas/s12z/jsr.d: New case.
opcodes/
* s12z-dis.c (opr_emit_disassembly): Do not omit an index if it is
zero.
gas/ChangeLog
gas/testsuite/gas/s12z/jsr.d
gas/testsuite/gas/s12z/jsr.s
opcodes/ChangeLog
opcodes/s12z-dis.c