mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 23:28:05 +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
|