From c994bb8fd696012aaab2642db1690b65feeaab96 Mon Sep 17 00:00:00 2001 From: Gergo ERDI Date: Sat, 29 Aug 2026 18:23:22 +0800 Subject: [PATCH] Add `add HL HL` instruction (machine code 0x29) --- src/Z80/Operations.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Z80/Operations.hs b/src/Z80/Operations.hs index 01542a9..205fde9 100644 --- a/src/Z80/Operations.hs +++ b/src/Z80/Operations.hs @@ -849,6 +849,7 @@ instance EncodeReg16 AF where class EncodeReg16 r => Reg16 r instance Reg16 BC instance Reg16 DE +instance Reg16 HL instance EncodeReg16 RegIx where encodeReg16 IX = 0xdd