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