mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-10 09:48:05 +11:00
bf4ab0f1b4
For the IY->BC move, of course.
14 lines
213 B
Plaintext
14 lines
213 B
Plaintext
CODE RSHIFT ( n u -- n )
|
|
DE POP, ( u )
|
|
HL POP, ( n )
|
|
chkPS,
|
|
A E LDrr,
|
|
A ORr, IFNZ,
|
|
BEGIN,
|
|
H SRL, L RR,
|
|
A DECr,
|
|
JRNZ, AGAIN,
|
|
THEN,
|
|
HL PUSH,
|
|
;CODE
|