mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 19:58:07 +11:00
bf4ab0f1b4
For the IY->BC move, of course.
14 lines
213 B
Plaintext
14 lines
213 B
Plaintext
CODE LSHIFT ( n u -- n )
|
|
DE POP, ( u )
|
|
HL POP, ( n )
|
|
chkPS,
|
|
A E LDrr,
|
|
A ORr, IFNZ,
|
|
BEGIN,
|
|
L SLA, H RL,
|
|
A DECr,
|
|
JRNZ, AGAIN,
|
|
THEN,
|
|
HL PUSH,
|
|
;CODE
|