]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: h8300 Fixed different behavior in preinc/predec.
authorYoshinori Sato <ysato@users.sourceforge.jp>
Fri, 21 May 2021 13:40:04 +0000 (22:40 +0900)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Fri, 28 May 2021 12:14:24 +0000 (21:14 +0900)
commit0ef4c3f83b044a9ed4b49f4ebc9d8480ca9aa4fe
tree661d91ebb556bb7ab3f8a36c3e97bec72dbb9ffd
parent3633d4fb4469f5bc4e6e1593b65c7fc93d3805bb
sim: h8300 Fixed different behavior in preinc/predec.

* sim-main.h (h8_typecodes): Add operand type OP_REG_DEC, OP_REG_INC.
* compile.c (decode): Rewrite oprand type for specific case.
(fetch_1): Add handling OP_REG_DEC and OP_REG_INC.
(step_once): Fix operand fetch order.
sim/h8300/ChangeLog
sim/h8300/compile.c
sim/h8300/sim-main.h