Skip to content

Commit

Permalink
[#15] Move on_xret().
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarev committed Aug 28, 2021
1 parent 884993f commit 28f2c4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions z80.h
Original file line number Diff line number Diff line change
Expand Up @@ -1629,6 +1629,8 @@ class internals::disasm_base : public B {
self().on_format("pop G", rp, irp); } }
void on_ret() {
self().on_format("ret"); }
void on_xret() {
self().on_format("xret N", 0xd9); }
void on_ret_cc(condition cc) {
self().on_format(self().on_is_z80() ? "ret C" : "rC", cc); }
void on_reti() {
Expand Down Expand Up @@ -1957,8 +1959,6 @@ class i8080_disasm : public internals::disasm_base<i8080_decoder<root<D>>> {
self().on_format("xjmp N, W", 0xcb, nn); }
void on_xnop(fast_u8 op) {
self().on_format("xnop N", op); }
void on_xret() {
self().on_format("xret N", 0xd9); }

protected:
using base::self;
Expand Down

0 comments on commit 28f2c4e

Please sign in to comment.