Z8k: fix sout/soudb opcodes with direct address
authorChristian Groessler <chris@groessler.org>
Tue, 4 Aug 2020 20:29:15 +0000 (22:29 +0200)
committerChristian Groessler <chris@groessler.org>
Tue, 4 Aug 2020 20:31:42 +0000 (22:31 +0200)
commit563a322515e1fd03ee93c74e7144b231a4f63281
tree28cea54f520bf0eb9b7e04976c73ab7ca913956a
parent97916bfedfd8a1577028f850368fdc0f2aca7653
Z8k: fix sout/soudb opcodes with direct address

Problem found by Tadashi G. Takaoka.

2020-08-04  Christian Groessler  <chris@groessler.org>
     Tadashi G. Takaoka <tadashi.g.takaoka@gmail.com>

 * z8kgen.c (opt): Fix "sout imm16,rs" and "soutb imm16,rbs"
 opcodes (special "out" to absolute address).
 * z8k-opc.h: Regenerate.

2020-08-04  Christian Groessler  <chris@groessler.org>

 * gas/testsuite/gas/z8k/inout.d: Adapt to correct encoding of
 "sout/soutb #imm,reg"
gas/ChangeLog
gas/testsuite/gas/z8k/inout.d
opcodes/ChangeLog
opcodes/z8k-opc.h
opcodes/z8kgen.c