From 28f2c4e24e933b6cc3f153a4b515be64ad6d685b Mon Sep 17 00:00:00 2001 From: Ivan Kosarev Date: Sat, 28 Aug 2021 18:12:53 +0100 Subject: [PATCH] [#15] Move on_xret(). --- z80.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/z80.h b/z80.h index 2f51be2..b0184e0 100644 --- a/z80.h +++ b/z80.h @@ -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() { @@ -1957,8 +1959,6 @@ class i8080_disasm : public internals::disasm_base>> { 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;