Skip to content

Commit

Permalink
[#15] Move on_xcall_nn().
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarev committed Aug 28, 2021
1 parent 1e98f70 commit c68ecf9
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 @@ -1411,6 +1411,8 @@ class internals::disasm_base : public B {
reg::at_hl, irp, d); }
void on_call_nn(fast_u16 nn) {
self().on_format("call W", nn); }
void on_xcall_nn(fast_u8 op, fast_u16 nn) {
self().on_format("xcall N, W", op, nn); }
void on_ccf() {
self().on_format(self().on_is_z80() ? "ccf" : "cmc"); }
void on_scf() {
Expand Down Expand Up @@ -1957,8 +1959,6 @@ class i8080_disasm : public internals::disasm_base<i8080_decoder<root<D>>> {

void on_ld_a_at_nn(fast_u16 nn) {
self().on_format("lda W", nn); }
void on_xcall_nn(fast_u8 op, fast_u16 nn) {
self().on_format("xcall N, W", op, nn); }

protected:
using base::self;
Expand Down

0 comments on commit c68ecf9

Please sign in to comment.