From a0f7b0d142a00171b37b9f7b7b9d15d70ea7724d Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Mon, 25 Jun 2018 19:18:17 -0400 Subject: add daa() --- ops.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ops.yaml b/ops.yaml index 5cf9c77..3d6f7b8 100644 --- a/ops.yaml +++ b/ops.yaml @@ -630,6 +630,8 @@ ops: n: h: "0" c: C + code: | + daa(ctx); - id: JR Z, r8 hex: 0x28 cat: "jumps/calls" @@ -10071,6 +10073,14 @@ templates: cpu_ww(ctx, RW_PC, mmu_rw(ctx, addr)); } + static void + daa( + gb_t * const ctx + ) { + UNUSED(ctx); + // TODO: implement DAA + } + static void gpu_set_line( gb_t * const ctx, -- cgit v1.2.3