wip
This commit is contained in:
parent
c668433c5d
commit
a776df27d2
24
blk/328
24
blk/328
@ -1,14 +1,16 @@
|
||||
CODE S=
|
||||
DE POPqq,
|
||||
HL POPqq,
|
||||
chkPS,
|
||||
BEGIN,
|
||||
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,
|
||||
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. )
|
||||
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