Skip to content

Commit f1dd861

Browse files
fix puts issue
1 parent 5e67f85 commit f1dd861

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/std/shared/puts.src

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ _puts:
1818
inc hl
1919
jr .loop
2020
.newline:
21-
ld a,10
22-
jp _outchar
21+
ld l,10
22+
push hl
23+
call _outchar
24+
pop hl
25+
ret
2326

2427
extern _outchar

0 commit comments

Comments
 (0)