From 2d16d54238f78b5e88a03396d66dee928037d84e Mon Sep 17 00:00:00 2001 From: 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 <59028351+imagineeeinc@users.noreply.github.com> Date: Fri, 23 Aug 2024 16:33:30 +0100 Subject: [PATCH] updated example to use new opcode --- examples/asm/timertest.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/asm/timertest.asm b/examples/asm/timertest.asm index 7ff7168..0dc7e93 100644 --- a/examples/asm/timertest.asm +++ b/examples/asm/timertest.asm @@ -27,7 +27,7 @@ ld (hl) a loop: # check if number is 0 ld a Timer -sub a $01 +cp a $01 # if 0 then jump to reset timer jp c &settimer # else loop