Fix stack imbalance
This commit is contained in:
parent
54fa407a68
commit
dd517061e7
|
@ -458,17 +458,17 @@
|
||||||
@min ( x^ y^ -- min^ )
|
@min ( x^ y^ -- min^ )
|
||||||
LTHk JMP SWP POP JMP2r
|
LTHk JMP SWP POP JMP2r
|
||||||
|
|
||||||
@common-folder-prefix ( -- )
|
@common-folder-prefix ( -- len^ )
|
||||||
.lines/folders LDZ ?{ JMP2r }
|
.lines/folders LDZ ?{ #00 JMP2r }
|
||||||
;mem/folders DUP2 LIT2 [ 00 -lines/folders ] LDZ #70 SFT2 ADD2
|
;mem/folders DUP2 LIT2 [ 00 -lines/folders ] LDZ #70 SFT2 ADD2
|
||||||
!common-prefix-0
|
!common-prefix-0
|
||||||
|
|
||||||
@common-track-prefix ( -- )
|
@common-track-prefix ( -- len^ )
|
||||||
.lines/tracks LDZ ?{ JMP2r }
|
.lines/tracks LDZ ?{ #00 JMP2r }
|
||||||
;mem/tracks DUP2 LIT2 [ 00 -lines/tracks ] LDZ #70 SFT2 ADD2
|
;mem/tracks DUP2 LIT2 [ 00 -lines/tracks ] LDZ #70 SFT2 ADD2
|
||||||
( >> )
|
( >> )
|
||||||
|
|
||||||
@common-prefix-0 ( first* limit* -- )
|
@common-prefix-0 ( first* limit* -- len^ )
|
||||||
SWP2 DUP2k str-len STH ( limit* first* first* [len^] )
|
SWP2 DUP2k str-len STH ( limit* first* first* [len^] )
|
||||||
,&s0 STR2 #0080 ADD2 ( limit* first+128* [len^] )
|
,&s0 STR2 #0080 ADD2 ( limit* first+128* [len^] )
|
||||||
&loop GTH2k ?&ok POP2 POP2 STHr JMP2r ( len^ )
|
&loop GTH2k ?&ok POP2 POP2 STHr JMP2r ( len^ )
|
||||||
|
|
Loading…
Reference in New Issue