Skip to content

Commit

Permalink
fix #77, #78
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoconlechuga committed Nov 22, 2018
1 parent e1a32d9 commit d005015
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/search.asm
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,13 @@ search_name:
dec ix
.find:
ld de,(hl) ; pointer to program name

push bc
push ix
ld b,0
.length := $-1
ld a,(de)
cp a,b
jr nz,.next ; check lengths
.compare:
dec de
inc ix
Expand Down

0 comments on commit d005015

Please sign in to comment.