1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 03:18:10 +11:00
collapseos/blk/319

17 lines
303 B
Plaintext
Raw Normal View History

2020-04-23 11:19:12 +10:00
CODE * ( DE * BC -> DE (high) and HL (low) )
DE POPqq, BC POPqq, chkPS,
HL 0 LDddnn,
A 0x10 LDrn,
( loop )
HL ADDHLss,
E RLr, D RLr,
JRNC, 4 A, ( noinc )
BC ADDHLss,
JRNC, 1 A, ( noinc )
DE INCss,
( noinc )
A DECr,
JRNZ, -14 A, ( loop )
HL PUSHqq,
;CODE