mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 05:28:06 +11:00
13 lines
210 B
Plaintext
13 lines
210 B
Plaintext
CODE RSHIFT ( n u -- n )
|
|
BC POPqq, ( u )
|
|
HL POPqq, ( n )
|
|
chkPS,
|
|
B C LDrr,
|
|
B INCr, B DECr, IFNZ,
|
|
BEGIN,
|
|
H SRLr, L RRr,
|
|
DJNZ, AGAIN,
|
|
THEN,
|
|
HL PUSHqq,
|
|
;CODE
|