Skip to content

Commit 65ac889

Browse files
authored
Fix incorrect sign flag output in __lcmpzero
1 parent d94377a commit 65ac889

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/crt/lcmpzero.src

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ __lcmpzero:
99
add hl, bc
1010
or a, a
1111
sbc hl, bc
12+
ret p
13+
inc e
14+
dec de
1215
ret

0 commit comments

Comments
 (0)