wip
This commit is contained in:
parent
c668433c5d
commit
a776df27d2
16
blk/328
16
blk/328
@ -1,14 +1,16 @@
|
|||||||
CODE S=
|
CODE S=
|
||||||
DE POPqq,
|
DE POPqq, HL POPqq, chkPS,
|
||||||
HL POPqq,
|
HL DECss, DE DECss,
|
||||||
chkPS,
|
LDA(DE),
|
||||||
|
(HL) CPr,
|
||||||
|
IFZ, ( same size? )
|
||||||
|
B A LDrr, ( loop A times )
|
||||||
BEGIN,
|
BEGIN,
|
||||||
|
HL INCss, DE INCss,
|
||||||
LDA(DE),
|
LDA(DE),
|
||||||
(HL) CPr,
|
(HL) CPr,
|
||||||
JRNZ, BREAK, ( not equal? break early. NZ is set. )
|
JRNZ, BREAK, ( not equal? break early. NZ is set. )
|
||||||
A ORr, ( if our char is null, stop )
|
DJNZ, AGAIN,
|
||||||
HL INCss,
|
THEN,
|
||||||
DE INCss,
|
|
||||||
JRNZ, AGAIN,
|
|
||||||
PUSHZ,
|
PUSHZ,
|
||||||
;CODE
|
;CODE
|
||||||
|
BIN
emul/forth.bin
BIN
emul/forth.bin
Binary file not shown.
Loading…
Reference in New Issue
Block a user