1
0
mirror of https://github.com/hsoft/collapseos.git synced 2025-04-05 06:38:40 +11:00

Adopted push/pop notation

This commit is contained in:
Clanmaster21 2019-10-17 21:42:48 +01:00 committed by GitHub
parent 505c9c6924
commit 46c6a2a3c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,13 +193,13 @@ _symFind:
.skip: .skip:
; ok, next! ; ok, next!
push de push de ; --> lvl 1
ld de, 0x0003 ld de, 0x0003
add iy, de ; faster and shorter than three inc's add iy, de ; faster and shorter than three inc's
ld e, (iy-3) ; offset is also compulsory, so no extra bytes used ld e, (iy-3) ; offset is also compulsory, so no extra bytes used
; (iy-3) holds the name length of the string just processed ; (iy-3) holds the name length of the string just processed
add hl, de ; advance HL by (iy-3) characters add hl, de ; advance HL by (iy-3) characters
pop de pop de ; <-- lvl 1
djnz .loop djnz .loop
; end of the chain, nothing found ; end of the chain, nothing found